Browse Source

取值异常控制

TonyKang 4 years ago
parent
commit
0a80106ca8
2 changed files with 1169 additions and 902 deletions
  1. 1 0
      modules/reports/util/rpt_construct_data_util.js
  2. 1168 902
      package-lock.json

+ 1 - 0
modules/reports/util/rpt_construct_data_util.js

@@ -1334,6 +1334,7 @@ function getDeepProperty(propKey, orgObj, destArr) {
     let parent = orgObj, lastVal = null;
     for (let key of keys) {
         if (parent instanceof Array) {
+            lastVal = null;
             for (let item of parent) {
                 if (item[dftPropKey] === key) {
                     lastVal = getActPropertyVal(dftPropVal, secDftPropVal, item);

File diff suppressed because it is too large
+ 1168 - 902
package-lock.json