Browse Source

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

pull/256/head
vben 6 years ago
parent
commit
1d0ec3629f
  1. 2
      src/views/demo/table/EditRowTable.vue

2
src/views/demo/table/EditRowTable.vue

@ -140,7 +140,7 @@
function handleCancel(record: EditRecordRow) {
currentEditKeyRef.value = '';
record.onEdit?.(false, true);
record.onEdit?.(false, false);
}
async function handleSave(record: EditRecordRow) {

Loading…
Cancel
Save