fix: 分享界面错误
This commit is contained in:
parent
22e7af23a4
commit
a80e3f4bd0
@ -620,10 +620,12 @@ export default {
|
|||||||
if (userId !== null) {
|
if (userId !== null) {
|
||||||
this.getSharer(userId)
|
this.getSharer(userId)
|
||||||
}
|
}
|
||||||
if (this.fileList.length > 0) {
|
if (this.fileList.length > 0 && !this.fileList[0].isPrivacy) {
|
||||||
store.dispatch('user/resetShareToken').then(() => {
|
store.dispatch('user/resetShareToken').then(() => {
|
||||||
this.loadShareFileList(pagination, overload, res.count)
|
this.loadShareFileList(pagination, overload, res.count)
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
this.loadShareFileList(pagination, overload, res.count)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user