fix: 分享界面错误

This commit is contained in:
jmal 2023-03-09 18:02:03 +08:00
parent 22e7af23a4
commit a80e3f4bd0

View File

@ -620,10 +620,12 @@ export default {
if (userId !== null) {
this.getSharer(userId)
}
if (this.fileList.length > 0) {
if (this.fileList.length > 0 && !this.fileList[0].isPrivacy) {
store.dispatch('user/resetShareToken').then(() => {
this.loadShareFileList(pagination, overload, res.count)
})
} else {
this.loadShareFileList(pagination, overload, res.count)
}
}
}).catch(() => {