refactor: 改为从info获取

This commit is contained in:
dap
2024-09-23 08:28:09 +08:00
parent c7ba5b4b1d
commit b13fafdaf5
2 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ function handleAdd() {
}
async function handleEdit(record: Recordable<any>) {
modalApi.setData({ record, update: true });
modalApi.setData({ id: record.configId, update: true });
modalApi.open();
}