密码提示问题
This commit is contained in:
parent
7eced09de0
commit
4d798c82df
@ -41,7 +41,7 @@ const equalToPassword = (rule, value, callback) => {
|
|||||||
const rules = reactive<FormRules>({
|
const rules = reactive<FormRules>({
|
||||||
oldPassword: [
|
oldPassword: [
|
||||||
{ required: true, message: t('profile.password.oldPwdMsg'), trigger: 'blur' },
|
{ 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: [
|
newPassword: [
|
||||||
{ required: true, message: t('profile.password.newPwdMsg'), trigger: 'blur' },
|
{ required: true, message: t('profile.password.newPwdMsg'), trigger: 'blur' },
|
||||||
|
Loading…
Reference in New Issue
Block a user