Commit aa948a1cb5b5c718014cbe180ef3c2dfe0b8e89a
1 parent
87630ecd
解决前端增加用户模块 密码的校验规则没有生效 #2063
Showing
1 changed file
with
1 additions
and
1 deletions
ant-design-vue-jeecg/src/views/system/modules/UserModal.vue
... | ... | @@ -28,7 +28,7 @@ |
28 | 28 | |
29 | 29 | <template v-if="!model.id"> |
30 | 30 | <a-form-item label="登录密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
31 | - <a-input type="password" placeholder="请输入登录密码" v-decorator="[ 'password']" /> | |
31 | + <a-input type="password" placeholder="请输入登录密码" v-decorator="[ 'password',validatorRules.password]" /> | |
32 | 32 | </a-form-item> |
33 | 33 | |
34 | 34 | <a-form-item label="确认密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
... | ... |