From 6efecddde8a0ca1c94763a7c17eff15cb5e46f75 Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Sun, 7 Apr 2024 11:14:11 +0800 Subject: [PATCH] opti: create user form --- src/views/system/user/formSchemas.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/system/user/formSchemas.tsx b/src/views/system/user/formSchemas.tsx index 7fd9f54..a50b408 100644 --- a/src/views/system/user/formSchemas.tsx +++ b/src/views/system/user/formSchemas.tsx @@ -37,7 +37,7 @@ export const userSchemas: FormSchema[] = [ { field: 'username', component: 'Input', - label: '用户名', + label: '登录用户名', rules: [{ required: true }], }, { @@ -51,7 +51,8 @@ export const userSchemas: FormSchema[] = [ { field: 'nickname', component: 'Input', - label: '呢称', + rules: [{ required: true }], + label: '呢称(姓名)', colProps: { span: 12, },