From a80e3f4bd0f73df574bbaccaef234e8d5102eabf Mon Sep 17 00:00:00 2001 From: jmal Date: Thu, 9 Mar 2023 18:02:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E4=BA=AB=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/public/share/shareList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/public/share/shareList.vue b/src/views/public/share/shareList.vue index ee771aa..f06abd5 100644 --- a/src/views/public/share/shareList.vue +++ b/src/views/public/share/shareList.vue @@ -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(() => {