密码提示问题

This commit is contained in:
周建 2023-08-23 13:51:04 +08:00
parent 7eced09de0
commit 4d798c82df

View File

@ -41,7 +41,7 @@ const equalToPassword = (rule, value, callback) => {
const rules = reactive<FormRules>({
oldPassword: [
{ required: true, message: t('profile.password.oldPwdMsg'), trigger: 'blur' },
{ min: 3, max: 5, message: t('profile.password.pwdRules'), trigger: 'blur' }
{ min: 6, max: 20, message: t('profile.password.pwdRules'), trigger: 'blur' }
],
newPassword: [
{ required: true, message: t('profile.password.newPwdMsg'), trigger: 'blur' },