|
|
@ -1049,11 +1049,11 @@ export default { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.$toast.error(`Failed to save row : ${e.message}`).goAway(3000) |
|
|
|
this.$toast.error(`Failed to save row : ${e.message}`).goAway(3000) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} finally { |
|
|
|
|
|
|
|
|
|
|
|
this.$set(this.data[row], 'saving', false) |
|
|
|
this.$set(this.data[row], 'saving', false) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// // 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) { |
|
|
|