{{status.val}} 我想监听elemnt的v-model="ruleForm.status"复选框里面的获取到的状态然后清掉里面的不相关的表单验证这么写不对##标题文字##this.ruleForm.status:{handler(newList){console.log(newList)this.ruleForm.status=newListif(newList==1){this.$refs.ruleForm.clearValidate('file')}},immediate:true}},
相关分类