|
|
@ -878,14 +878,14 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// todo: move debounce to cell since this will skip few update api call |
|
|
|
// // todo: move debounce to cell since this will skip few update api call |
|
|
|
onCellValueChangeDebounce: debounce(async function(col, row, column, self) { |
|
|
|
// onCellValueChangeDebounce: debounce(async function(col, row, column, self) { |
|
|
|
await self.onCellValueChangeFn(col, row, column) |
|
|
|
// await self.onCellValueChangeFn(col, row, column) |
|
|
|
}, 100), |
|
|
|
// }, 100), |
|
|
|
onCellValueChange(col, row, column) { |
|
|
|
// onCellValueChange(col, row, column) { |
|
|
|
this.onCellValueChangeDebounce(col, row, column, this) |
|
|
|
// this.onCellValueChangeFn(col, row, column) |
|
|
|
}, |
|
|
|
// }, |
|
|
|
async onCellValueChangeFn(col, row, column) { |
|
|
|
async onCellValueChange(col, row, column) { |
|
|
|
if (!this.data[row]) { |
|
|
|
if (!this.data[row]) { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|