MaiXinRong 6 年之前
父節點
當前提交
9f91daf89e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/extend/helper.js

+ 1 - 1
app/extend/helper.js

@@ -655,7 +655,7 @@ module.exports = {
     sum(array) {
         let result = 0;
         for (const a of array) {
-            result = this.plus(result, a);
+            result = this.add(result, a);
         }
         return result;
     },