refactor: ♻️ 加强对话框表单组件和列表选择组件

This commit is contained in:
cshaptx4869 committed 2024-05-08 21:46:35 +08:00
1 parent 98f2aaf279
commit 6618b608de
4 files changed
+149 -95

No files matched your search

-1
View File
@@ -7,7 +7,6 @@ const modalConfig: IModalConfig<UserForm> = {
dialog: {
title: "新增用户",
width: 800,
appendToBody: true,
draggable: true,
},
form: {
+1 -1
View File
@@ -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);