赞
踩
通过form组件属性配置解决(validate-on-rule-change=“false”)
<el-form ref="ruleFormDom" class="formDom" :model="ruleForm" :rules="rules" label-width="180px" :validate-on-rule-change="false">
<el-form-item label="起止日期">
<el-input value='ruleForm.valueÏ'/>
</el-form-item>
</el-form>
this.$refs.ruleForm.clearValidate()
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。