修复bug
This commit is contained in:
@@ -24,8 +24,8 @@ const FormSchema = z.object({
|
||||
oldLoginPwd: z.string()
|
||||
.min(1, {message: t('pages-user.pay-password.input-placeholder.enter-old-password')}),
|
||||
newLoginPwd: z.string()
|
||||
.min(1, {message: t('pages-user.pay-password.input-placeholder.enter-new-password')})
|
||||
.regex(/^\d{6}$/, {message: t('pages-user.pay-password.enter-6-digit-password')}),
|
||||
.min(8, {message: t('pages-user.pay-password.password-length-limit')})
|
||||
.max(16, {message: t('pages-user.pay-password.password-length-limit')}),
|
||||
confirmPwd: z.string()
|
||||
.min(1, {message: t('pages-user.pay-password.input-placeholder.enter-new-password-again')})
|
||||
|
||||
@@ -116,7 +116,7 @@ function navigateTo(url: string) {
|
||||
clearable
|
||||
:focus-when-clear="false"
|
||||
:cursorSpacing="20"
|
||||
:maxlength="20"
|
||||
:maxlength="16"
|
||||
v-model.trim="form.newLoginPwd"
|
||||
:placeholder="t('pages-user.pay-password.input-placeholder.enter-new-password')"
|
||||
placeholderStyle="font-size: 28rpx;line-height: 42rpx;color: #999999;"
|
||||
@@ -130,7 +130,7 @@ function navigateTo(url: string) {
|
||||
clearable
|
||||
:focus-when-clear="false"
|
||||
:cursorSpacing="20"
|
||||
:maxlength="20"
|
||||
:maxlength="16"
|
||||
v-model.trim="form.confirmPwd"
|
||||
:placeholder="t('pages-user.pay-password.input-placeholder.enter-new-password-again')"
|
||||
placeholderStyle="font-size: 28rpx;line-height: 42rpx;color: #999999;"
|
||||
|
||||
Reference in New Issue
Block a user