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

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

@@ -728,7 +728,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 +747,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);