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

pull/2128/head
zhangdaiscott 4 years ago
parent aec00d9ba2
commit c5b33b6bd1

@ -28,7 +28,7 @@
<template v-if="!model.id"> <template v-if="!model.id">
<a-form-item label="登录密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > <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>
<a-form-item label="确认密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > <a-form-item label="确认密码" :labelCol="labelCol" :wrapperCol="wrapperCol" >

Loading…
Cancel
Save