fix(table): fix the table: cancel editing and not restore the initial value #235
This commit is contained in:
parent
3d1681ee9a
commit
1d0ec3629f
|
|
@ -140,7 +140,7 @@
|
||||||
|
|
||||||
function handleCancel(record: EditRecordRow) {
|
function handleCancel(record: EditRecordRow) {
|
||||||
currentEditKeyRef.value = '';
|
currentEditKeyRef.value = '';
|
||||||
record.onEdit?.(false, true);
|
record.onEdit?.(false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleSave(record: EditRecordRow) {
|
async function handleSave(record: EditRecordRow) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue