From 1c5145f1a50f09e22faff56f987907901a8fdb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Wed, 6 May 2026 15:35:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(user):=20=E5=BA=94=E7=94=A8=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E9=AA=8C=E8=AF=81=E8=A7=84=E5=88=99=E5=88=B0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=AE=A1=E7=90=86=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用户名添加长度(3-50)和格式校验,密码添加长度(8-20)和强度校验, 邮箱添加格式和长度校验,手机添加格式校验,昵称添加长度校验。 --- novalon-manage-web/src/pages/system/user/index.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/novalon-manage-web/src/pages/system/user/index.tsx b/novalon-manage-web/src/pages/system/user/index.tsx index e9aeccf..b328091 100644 --- a/novalon-manage-web/src/pages/system/user/index.tsx +++ b/novalon-manage-web/src/pages/system/user/index.tsx @@ -8,6 +8,7 @@ import type { User, CreateUserRequest, UpdateUserRequest, UserPageRequest } from import type { Role } from '@/api/role.api' import type { PageResponse } from '@/api/user.api' import { UserStatus, userStatusMap } from '@/constants/status' +import { VALIDATION } from '@/constants/validation-rules' import PermissionGuard from '@/components/PermissionGuard' export default function UserManagement() { @@ -165,22 +166,22 @@ export default function UserManagement() { >
{!editingUser && ( - + )} {!editingUser && ( - + )} - + - + - +