reactor:【system 系统管理】dept 部门管理的实现,对齐 ele 和 antd(处理上级逻辑)

pull/210/head
YunaiV 2025-09-05 22:59:23 +08:00
parent 4183fee283
commit 330b06e024
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,8 @@ const [Modal, modalApi] = useVbenModal({
//
const data = modalApi.getData<SystemDeptApi.Dept>();
if (!data || !data.id) {
//
await formApi.setValues(data);
return;
}
modalApi.lock();

View File

@ -61,6 +61,8 @@ const [Modal, modalApi] = useVbenModal({
//
const data = modalApi.getData<SystemDeptApi.Dept>();
if (!data || !data.id) {
//
await formApi.setValues(data);
return;
}
modalApi.lock();