清除单个form 验证
<a-form-model
:model="form"
:rules="rules"
:label-col="labelCol"
:wrapper-col="wrapperCol"
ref="form"
>
</a-form-model>
this.$refs.form.clearValidate('phone')
this.route.push跳转页面不刷新的解决方案
watch: {
'$route' () {
this.getList();//我的初始化方法
}
},
customRender(key) {
let target = arr.find((i) => i.key === key);
return target?.value || "";
},