Browse Source

fix: tenant #I6R4NN

main
xingyu 2 years ago
parent
commit
9d7298598a
  1. 4
      src/views/system/tenant/tenant.data.ts

4
src/views/system/tenant/tenant.data.ts

@ -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: '账号额度',