refactor: ♻️ 加强对话框表单组件和列表选择组件
This commit is contained in:
1 parent
98f2aaf279
commit
6618b608de
4 files changed
+149
-95
No files matched your search
@@ -7,7 +7,6 @@ const modalConfig: IModalConfig<UserForm> = {
|
||||
dialog: {
|
||||
title: "新增用户",
|
||||
width: 800,
|
||||
appendToBody: true,
|
||||
draggable: true,
|
||||
},
|
||||
form: {
|
||||
|
||||
@@ -8,7 +8,7 @@ const modalConfig: IModalConfig<UserForm> = {
|
||||
dialog: {
|
||||
title: "修改用户",
|
||||
width: 800,
|
||||
appendToBody: true,
|
||||
draggable: true,
|
||||
},
|
||||
formAction: function (data) {
|
||||
return UserAPI.update(data.id as number, data);
|
||||
|
||||
Reference in new issue
Block a user