zhouna 4 years atrás
parent
commit
461b8cf7e8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/knowledgeExtra/AddNewRule.vue

+ 2 - 0
src/components/knowledgeExtra/AddNewRule.vue

@@ -275,12 +275,14 @@
             ruleTypeChange(val){       //规则类型选中
                 this.form.parRuleType=val;
                 this.form.parLenCode='';
+                this.form.parMsg="";
                 const obj = this.ruleTypeList.find((it)=>it.id===val);//console.log(val)
                 this.ruleTermTypeList = obj.subMenuList;
                 this.setInitGroupData();
             },
             ruleTermChange(val){        //规则术语类型选中
                 this.form.parLenCode=val;
+                this.form.parMsg="";
                 const obj = this.ruleTermTypeList.find((it)=>it.code===val);
                 this.form.parLenName=obj.name;
                 this.baseTypeList = obj.subMenuList;