Commit 03ac1362 authored by tyyin lan's avatar tyyin lan

chore(个人设置): 密码修改表单调整

parent 531ae43b
...@@ -54,7 +54,7 @@ const passwordFormRules = shallowReadonly({ ...@@ -54,7 +54,7 @@ const passwordFormRules = shallowReadonly({
validator: (_rule: FormItemRule, value: string) => { validator: (_rule: FormItemRule, value: string) => {
if (!value) { if (!value) {
return new Error(t('personal_settings_module.please_enter_your_new_password')) return new Error(t('personal_settings_module.please_enter_your_new_password'))
} else if (value.length <= 6) { } else if (value.length < 6) {
return new Error(t('personal_settings_module.the_password_contains_a_maximum_of_6_characters')) return new Error(t('personal_settings_module.the_password_contains_a_maximum_of_6_characters'))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment