Browse Source

bug修复

chenrui 4 years ago
parent
commit
d1572081db
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/user/ChangePwd.vue

+ 3 - 2
src/views/user/ChangePwd.vue

@@ -16,11 +16,12 @@
                 'formCustom.oldPwd',
                 'formCustom.oldPwd',
                 { initialValue: formCustom.oldPwd,
                 { initialValue: formCustom.oldPwd,
                   rules: [
                   rules: [
-                    { required: true, message: '请输入原始密码' }
+                    { required: true, message: '请输入原始密码(6~12位)' }
                   ]
                   ]
                 },
                 },
               ]"
               ]"
-              placeholder="请输入原始密码">
+              :maxLength="12"
+              placeholder="请输入原始密码(6~12位)">
             </a-input>
             </a-input>
           </a-form-item>
           </a-form-item>
           <!-- 新密码 -->
           <!-- 新密码 -->