Commit 1d0ec3629f9cdd40c16b62ce61f9230dcd56a82f

Authored by vben
1 parent 3d1681ee

fix(table): fix the table: cancel editing and not restore the initial value #235

src/views/demo/table/EditRowTable.vue
... ... @@ -140,7 +140,7 @@
140 140  
141 141 function handleCancel(record: EditRecordRow) {
142 142 currentEditKeyRef.value = '';
143   - record.onEdit?.(false, true);
  143 + record.onEdit?.(false, false);
144 144 }
145 145  
146 146 async function handleSave(record: EditRecordRow) {
... ...