reaper 4 lat temu
rodzic
commit
35bf11cbbf
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      src/components/knowledgeExtra/AddNewRule.vue

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

@@ -633,6 +633,7 @@ export default {
       }
       this.$nextTick(() => {
         this.$refs.tableView.scrollFun();
+        
       });
     },
     // 删除分组
@@ -728,7 +729,7 @@ export default {
       this.editKlRuleByIdSub(obj);
     },
     ChildDataTypeChange(val, index) {
-      // this.form.klRuleByIdSub[index].subEqOperator = val === "2" ? "=" : "";
+      this.form.klRuleByIdSub[index].subEqOperator = val === "2" ? "=" : "";
       this.$set(
         this.form.klRuleByIdSub[index],
         "subEqOperator",
@@ -747,7 +748,7 @@ export default {
       if ((numTypes + ",").indexOf(val + ",") > -1) {
         this.$set(this.form.klRuleByIdSub[index], "dataType", "1");
       } else {
-        this.$set(this.form.klRuleByIdSub[index], "dataType", "1");
+        this.$set(this.form.klRuleByIdSub[index], "dataType", "");
       }
       this.childClearConcept(index);
       this.childClearNumText(index);