perf: 分享界面显示文件夹大小

This commit is contained in:
jmal 2024-05-24 17:10:48 +08:00
parent c059f912c3
commit 7f580897f7

View File

@ -607,7 +607,8 @@ export default {
share: this.shareId,
fileId: fileId,
pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize
pageSize: this.pagination.pageSize,
showFolderSize: true
}).then(res => {
this.isLoading = false
this.fileList = res.data
@ -628,7 +629,8 @@ export default {
api.accessShare({
share: this.shareId,
pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize
pageSize: this.pagination.pageSize,
showFolderSize: true
}).then(res => {
this.isLoading = false
if (Object.getPrototypeOf(res.data) === String.prototype) {