Forráskód Böngészése

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

ellisran 1 éve
szülő
commit
5316d6d348
1 módosított fájl, 2 hozzáadás és 1 törlés
  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) {