zhouna пре 4 година
родитељ
комит
9b7ed9a76a
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/components/knowledgeExtra/AddNewRule.vue

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

@@ -184,6 +184,9 @@
                 if(val&&this.checkFirstPlace&&this.conceptList) {
                     this.firstPlace = this.conceptList.find((it) => it.conceptId === val);
                     this.firstPlace['checkedType']=this.ruleTermCodeStr;
+                }else if(!val){
+                    this.setInitGroupData();
+                    this.firstPlace =null;
                 }else{
                     this.firstPlace =null;
                 }