fix: tenant #I6R4NN

pull/4/MERGE
xingyu 2023-03-28 22:49:14 +08:00
parent 182c447ef8
commit 9d7298598a
1 changed files with 2 additions and 2 deletions

View File

@ -147,13 +147,13 @@ export const formSchema: FormSchema[] = [
label: '用户名称', label: '用户名称',
field: 'username', field: 'username',
component: 'Input', component: 'Input',
ifShow: ({ values }) => values.id !== undefined ifShow: ({ values }) => !!!values.id
}, },
{ {
label: '用户密码', label: '用户密码',
field: 'password', field: 'password',
component: 'InputPassword', component: 'InputPassword',
ifShow: ({ values }) => values.id === undefined ifShow: ({ values }) => !!!values.id
}, },
{ {
label: '账号额度', label: '账号额度',