fix: tabel取消编辑单元格后会回到初始值. close #2739 (#3108)

This commit is contained in:
invalid w 2023-10-08 16:15:07 +08:00 committed by GitHub
parent 1519f47f7d
commit 986430513b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,8 +273,8 @@
}
}
}
set(record, dataKey, value);
defaultValueRef.value = value;
//const record = await table.updateTableData(index, dataKey, value);
needEmit && table.emit?.('edit-end', { record, index, key: dataKey, value });
isEdit.value = false;