MaiXinRong 1 mese fa
parent
commit
a2b84d4f52
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      app/public/js/path_tree.js

+ 4 - 2
app/public/js/path_tree.js

@@ -1286,7 +1286,8 @@ const createNewPathTree = function (type, setting) {
             }
             this.sortByLevelConverse(reCalcNodes);
             for (const node of reCalcNodes) {
-                treeCalc.calculateNode(this, node, this.setting.calcFields, this.setting.calcFun);
+                // treeCalc.calculateNode(this, node, this.setting.calcFields, this.setting.calcFun);
+                treeCalc.calculateNode(this, node);
             }
             result.update = result.update ? result.update.concat(reCalcNodes) : reCalcNodes;
             return result;
@@ -1404,7 +1405,8 @@ const createNewPathTree = function (type, setting) {
             }
             this.sortByLevelConverse(reCalcNodes);
             for (const node of reCalcNodes) {
-                treeCalc.calculateNode(this, node, this.setting.calcFields, this.setting.calcFun);
+                // treeCalc.calculateNode(this, node, this.setting.calcFields, this.setting.calcFun);
+                treeCalc.calculateNode(this, node);
             }
             result.update = result.update ? result.update.concat(reCalcNodes) : reCalcNodes;
             return result;