diff --git a/projects/app/src/pages/account/components/UpdatePswModal.tsx b/projects/app/src/pages/account/components/UpdatePswModal.tsx index dbbf47e32e1..1c6a915c7e1 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 位' } })} >