From fb6e76969e76a221efc5fe5cb7f1d486f1648395 Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Sun, 3 Mar 2024 23:27:08 +0800 Subject: [PATCH] psw max length --- .../app/src/pages/account/components/UpdatePswModal.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/app/src/pages/account/components/UpdatePswModal.tsx b/projects/app/src/pages/account/components/UpdatePswModal.tsx index dbbf47e32e13..1c6a915c7e16 100644 --- a/projects/app/src/pages/account/components/UpdatePswModal.tsx +++ b/projects/app/src/pages/account/components/UpdatePswModal.tsx @@ -56,8 +56,8 @@ const UpdatePswModal = ({ onClose }: { onClose: () => void }) => { {...register('newPsw', { required: true, maxLength: { - value: 20, - message: '密码最少 4 位最多 20 位' + value: 60, + message: '密码最少 4 位最多 60 位' } })} > @@ -70,8 +70,8 @@ const UpdatePswModal = ({ onClose }: { onClose: () => void }) => { {...register('confirmPsw', { required: true, maxLength: { - value: 20, - message: '密码最少 4 位最多 20 位' + value: 60, + message: '密码最少 4 位最多 60 位' } })} >