Browse Source

数据预处理,调整

MaiXinRong 4 years ago
parent
commit
6d10179577
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/rpt_data_analysis.js

+ 1 - 1
app/lib/rpt_data_analysis.js

@@ -1719,7 +1719,7 @@ const treeFilter = {
             }
         }
         data[options.table] = fData.filter(x => {
-            const match = self._checkPath(matchPath, x.full_path);
+            const match = self._checkPath(matchPath, x.full_path) && (options.subType === 'leaf' ? x.is_leaf : true);
             return options.type === 'match' ? match : !match;
         });
     },