diff --git a/src/views/main_web/workspace/service.js b/src/views/main_web/workspace/service.js index aaca5b38..ef563005 100644 --- a/src/views/main_web/workspace/service.js +++ b/src/views/main_web/workspace/service.js @@ -30,7 +30,11 @@ export async function fetchFolderFileList(folderId, userId, commonFolderId) { obj.isShowFile = true; return obj; }), - workFile: (data.workFile || []).map(firstCharToLowerCase), + workFile: (data.workFile || []).map(f => { + const obj = firstCharToLowerCase(f); + obj.isShowFile = true; + return obj; + }), coordinationFiles: (data.coordinationFiles || []).map(firstCharToLowerCase), public: (data.public || []).map(firstCharToLowerCase), }