|
|
@@ -999,7 +999,7 @@ export default { |
|
|
|
}, |
|
|
|
// 协作文件下的文件展示过滤 |
|
|
|
filterFilesInCoop(fileList){ |
|
|
|
const { folderPath = '', folderId } = this.currentFolderInCoop; |
|
|
|
const { folderPath = '' } = this.currentFolderInCoop; |
|
|
|
return fileList.filter(file=> { |
|
|
|
if(file.relativePath !== folderPath) { |
|
|
|
return false; |
|
|
@@ -1010,7 +1010,6 @@ export default { |
|
|
|
}, |
|
|
|
// 协作文件下的文件夹展示过滤 |
|
|
|
filterFoldersInCoop(folderList) { |
|
|
|
const {id: folderId} = this.currentNodeFolder; |
|
|
|
const { folderPath = ''} = this.currentFolderInCoop; |
|
|
|
return folderList.filter(folder => { |
|
|
|
if(folder.parentFolderPath !== folderPath) { |
|
|
|