refactor: 改为从info获取
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user