فهرست منبع

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

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) {