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

This commit is contained in:
vben 2021-02-04 00:20:48 +08:00
parent 3d1681ee9a
commit 1d0ec3629f

View File

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