Browse Source

解决前端增加用户模块 密码的校验规则没有生效 #2063

pull/2128/head
zhangdaiscott 4 years ago
parent
commit
c5b33b6bd1
  1. 2
      ant-design-vue-jeecg/src/views/system/modules/UserModal.vue

2
ant-design-vue-jeecg/src/views/system/modules/UserModal.vue

@ -28,7 +28,7 @@
<template v-if="!model.id">
<a-form-item label="登录密码" :labelCol="labelCol" :wrapperCol="wrapperCol" >
<a-input type="password" placeholder="请输入登录密码" v-decorator="[ 'password']" />
<a-input type="password" placeholder="请输入登录密码" v-decorator="[ 'password',validatorRules.password]" />
</a-form-item>
<a-form-item label="确认密码" :labelCol="labelCol" :wrapperCol="wrapperCol" >

Loading…
Cancel
Save