wyq 3 anos atrás
pai
commit
12b8aca5a9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/knowledgeExtra/AddNewRule.vue

+ 1 - 1
src/components/knowledgeExtra/AddNewRule.vue

@@ -397,7 +397,7 @@ export default {
       this.form.parLenName = obj.name;
       this.baseTypeList = obj.subMenuList;
       this.subRuleMaxNum = obj.number;
-      this.form.parHasSub = obj.subMenuList[0].id != 702 ? 1 : 0;
+      this.form.parHasSub = obj.subMenuList.length ? 1 : 0;
       this.setInitGroupData();
     },
     // 医学标准术语