0

我在第一次单击时将列进行排序,它可以工作并进行排序但还有这个:Uncaught RangeError: Maximum call stack size exceeded 我该如何解决?提前致谢

Vue.use(VueTables.ClientTable);
new Vue({
    el: '#all-bio-scanner-component',
    data: {
        BC_URL: 'BC_ID=' + BC_ID,
        columns: ['scannerFirstName', 'amountCompletedTask', 'inOperation', 'lastReceive', 'scannerStatus', 'edit'],
        data: [],
        options: {
            perPage: 100,
            perPageValues: [100, 200],
            headings: {
                scannerFirstName: 'Имя',
                amountCompletedTask: 'Выполнено',
                inOperation: 'В работе',
                lastReceive: 'Последнее получено',
                edit: 'Дополнительное',
                scannerStatus: "Статус"
            },
            sortable: ['scannerFirstName', 'amountCompletedTask', 'inOperation', 'lastReceive', 'scannerStatus'],
        }
    },
    mounted() {
        axios.get('/Prokat/40_Electroshit/scanners_info_get.php?BC_ID=' + BC_ID)
            .then(function (response) {
                storeBioScanners.commit(MUTATION_SET_BIO_SCANNERS, response.data);
                console.log(response)
            }).catch(function (error) {
            alert("Произошла ошибка:" + error);
        })
    },
    computed: {
        scanners() {
            return storeBioScanners.state.bioScanners;
        },
    },
    methods: {
        showBioScannerRedactor(bioScannerId) {
            storeBioScanners.commit(MUTATION_SET_EDITOR_BIO_SCANNERS_ID, bioScannerId);
        }
    }
})
;
4

0 回答 0