1
0

feat(web): 增加一些amis结构的工具函数

This commit is contained in:
2024-12-01 11:17:44 +08:00
parent 4dcc10f2f7
commit b072b83f80
6 changed files with 224 additions and 268 deletions

View File

@@ -16,22 +16,8 @@ const dialogBody = [
{
type: 'group',
body: [
{
type: 'control',
name: 'role',
label: '角色',
body: [
mappingField('role', userRoleMapping),
]
},
{
type: 'control',
name: 'state',
label: '账号状态',
body: [
mappingField('state', userStateMapping)
]
},
mappingField('role', '角色', userRoleMapping),
mappingField('state', '账号状态', userStateMapping),
]
},
...formCreatedUserAndModifiedUser(),