Browse Source

还原更改

duy 1 year ago
parent
commit
bc224a654e
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/views/formula/formulaArrayToString.js

+ 1 - 5
src/views/formula/formulaArrayToString.js

@@ -281,11 +281,7 @@ export const formulaArrayToString = (processFormula,resultFormula) => {
     //等号左侧部分
     let resText = transformArguments(resultFormula[0].children,resultFormula[0],eleMap);
     //等号左侧元素不需要,左侧的公式嵌套右侧所有结果
-    if(text){
-      text = resText.replace(`E[${resultFormula[0].tableElementKey}]`,text);
-    }else{
-      text=resText
-    }
+    text = resText.replace(`E[${resultFormula[0].tableElementKey}]`,text);
    
   }