|
@@ -138,6 +138,7 @@
|
|
|
function handleCancel(record: EditRecordRow) {
|
|
|
currentEditKeyRef.value = '';
|
|
|
record.onEdit?.(false, false);
|
|
|
+ reload();
|
|
|
}
|
|
|
async function handleSaveAdd() {
|
|
|
console.log('handleSaveAdd');
|
|
@@ -166,7 +167,7 @@
|
|
|
currentEditKeyRef.value = '';
|
|
|
}
|
|
|
msg.success({ content: '数据已保存', key: 'saving' });
|
|
|
- // reload();
|
|
|
+ reload();
|
|
|
} catch (error) {
|
|
|
msg.error({ content: '保存失败', key: 'saving' });
|
|
|
}
|