Browse Source

code sync

TonyKang 6 years atrás
parent
commit
db227130cb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      modules/reports/util/rpt_yanghu_data_util.js

+ 2 - 1
modules/reports/util/rpt_yanghu_data_util.js

@@ -597,7 +597,8 @@ function filterData(sourceData, handleCfg, prjData) {
         let rst = false;
         if (arr.length > 0) {
             for (let arrItem of arr) {
-                if (arrItem[key]) {
+                if (arrItem[key] !== undefined) {
+                    // 可以为null值去判断
                     rst = private_chkVal(arrItem[key], compVal, compStr);
                 }
                 if (rst) {