소스 검색

数据预处理,调整

MaiXinRong 4 년 전
부모
커밋
6d10179577
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
         });
     },