opti: create user form

This commit is contained in:
louis 2024-04-07 11:14:11 +08:00
parent 3b2291af7f
commit 6efecddde8
1 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@ export const userSchemas: FormSchema<API.UserDto>[] = [
{ {
field: 'username', field: 'username',
component: 'Input', component: 'Input',
label: '用户名', label: '登录用户名',
rules: [{ required: true }], rules: [{ required: true }],
}, },
{ {
@ -51,7 +51,8 @@ export const userSchemas: FormSchema<API.UserDto>[] = [
{ {
field: 'nickname', field: 'nickname',
component: 'Input', component: 'Input',
label: '呢称', rules: [{ required: true }],
label: '呢称(姓名)',
colProps: { colProps: {
span: 12, span: 12,
}, },