瀏覽代碼

公式页面

gangyj 2 年之前
父節點
當前提交
ebdc6d7e8a
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/formula/component/funComponent/ifelse.vue

+ 6 - 6
src/views/formula/component/funComponent/ifelse.vue

@@ -455,16 +455,16 @@ export default {
         this.formulainfo.arguments[0] = arr;
       }else{
         let arr = new Array(3).fill('');
-        if(this.tags1.length == 0){
-          arr[0] = this.tag1;
+        if(this.tags2.length == 0){
+          arr[0] = this.tag2;
         }else{
-          arr[0] = this.tags1[0];
+          arr[0] = this.tags2[0];
         }
         arr[1] = this.symbol;
-        if(this.tags2.length == 0){
-          arr[2] = this.tag2;
+        if(this.tags3.length == 0){
+          arr[2] = this.tag3;
         }else{
-          arr[2] = this.tags2[0];
+          arr[2] = this.tags3[0];
         }
         this.formulainfo.arguments[0] = arr;
       }