From 2b9a2de3210db0de790cdb48f34147440dfc8a01 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 17 May 2021 02:21:31 +0300 Subject: [PATCH] Cosmetic --- src/components/datatable/DataTable.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 1729a037d..504c4f10c 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -324,7 +324,7 @@ export default { d_columnOrder: null, d_editingRowKeys: null, d_filters: this.cloneFilters(this.filters), - editingCells: [] + d_editingCells: [] }; }, rowTouched: false, @@ -1526,14 +1526,14 @@ export default { }, onEditingCellChange(event) { let { rowIndex, cellIndex, editing } = event; - let _editingCells = [...this.editingCells]; + let _editingCells = [...this.d_editingCells]; if (editing) _editingCells.push({ rowIndex, cellIndex }); else _editingCells = _editingCells.filter(cell => !(cell.rowIndex === rowIndex && cell.cellIndex === cellIndex)); - this.editingCells = _editingCells; + this.d_editingCells = _editingCells; this.$emit('value-change', this.processedData); }, onRowEditInit(event) { @@ -1725,7 +1725,7 @@ export default { return this.filters && Object.keys(this.filters).length > 0 && this.filters.constructor === Object; }, hasEditingCell() { - return this.editingCells && this.editingCells.length !== 0; + return this.d_editingCells && this.d_editingCells.length !== 0; }, processedData() { let data = this.value || [];