perf: 分享界面显示文件夹大小
This commit is contained in:
parent
c059f912c3
commit
7f580897f7
@ -607,7 +607,8 @@ export default {
|
|||||||
share: this.shareId,
|
share: this.shareId,
|
||||||
fileId: fileId,
|
fileId: fileId,
|
||||||
pageIndex: this.pagination.pageIndex,
|
pageIndex: this.pagination.pageIndex,
|
||||||
pageSize: this.pagination.pageSize
|
pageSize: this.pagination.pageSize,
|
||||||
|
showFolderSize: true
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
this.fileList = res.data
|
this.fileList = res.data
|
||||||
@ -628,7 +629,8 @@ export default {
|
|||||||
api.accessShare({
|
api.accessShare({
|
||||||
share: this.shareId,
|
share: this.shareId,
|
||||||
pageIndex: this.pagination.pageIndex,
|
pageIndex: this.pagination.pageIndex,
|
||||||
pageSize: this.pagination.pageSize
|
pageSize: this.pagination.pageSize,
|
||||||
|
showFolderSize: true
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
if (Object.getPrototypeOf(res.data) === String.prototype) {
|
if (Object.getPrototypeOf(res.data) === String.prototype) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user