Explorar o código

预处理相关

MaiXinRong %!s(int64=5) %!d(string=hai) anos
pai
achega
547ba050df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/lib/rpt_data_analysis.js

+ 1 - 1
app/lib/rpt_data_analysis.js

@@ -394,7 +394,7 @@ const gatherChapter = {
         const gatherRelaFields = function (chapter, source, field) {
             const fields = field instanceof Array ? field : [field];
             for (const f of fields) {
-                chapter[f.target] = ctx.helper.add(chapter[f.target], source[f.source]);
+                chapter[f.target] = ctx.helper.add(chapter[f.target], source[f.target]);
             }
         };