MaiXinRong 6 gadi atpakaļ
vecāks
revīzija
9f91daf89e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
     },