liucf 5 年之前
父節點
當前提交
1bfc760b18
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/common/CheckBox.vue

+ 3 - 1
src/common/CheckBox.vue

@@ -70,7 +70,9 @@ import OptionInp from '../common/OptionInp.vue';
           // 填写后取消 再次选中 要获取输入框的值
           if(data[index].name.indexOf("${") != -1){
             console.log("该选项有输入框",data[index])
-            that.$refs.inp.handleBlur();
+            if(data[index].value){
+              this.inpVal(data[index].value,index);
+            } 
           }
         }
         // 处理取消-互斥