소스 검색

大司空过滤项目和多余文件夹先移除

ellisran 1 년 전
부모
커밋
5316d6d348
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/lib/dsk.js

+ 2 - 1
app/lib/dsk.js

@@ -83,7 +83,8 @@ class DSK {
             mobile,
         };
         const result = this.dealWith(await this.ctx.helper.sendRequest(url, postData, 'POST', 'json', true));
-        return result.filter(item => { return !item.property || !item.property.fileType || (item.property.fileType && [1, 5, 15, 16].indexOf(item.property.fileType) === -1); });
+        // return result.filter(item => { return !item.property || !item.property.fileType || (item.property.fileType && [1, 5, 15, 16].indexOf(item.property.fileType) === -1); });
+        return result;
     }
 
     async getProjectTree(compilationId, projectId) {