From 160dfc14fb7d95dee28e05f12e743c6b2641c604 Mon Sep 17 00:00:00 2001 From: jmal Date: Thu, 10 Aug 2023 22:00:04 +0800 Subject: [PATCH] operationPermissionList Adapt to old versions --- src/components/ShareDialog/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ShareDialog/index.vue b/src/components/ShareDialog/index.vue index 89a8859..c8f4a3a 100644 --- a/src/components/ShareDialog/index.vue +++ b/src/components/ShareDialog/index.vue @@ -225,7 +225,7 @@ export default { this.shareOptionConfig.linkLabel = '分享链接' this.setShareLink(this.getShareLink(this.file.shareId)) this.shareOption.isPrivacy = this.file.isPrivacy - this.shareOption.operationPermissionList = this.file.operationPermissionList + this.shareOption.operationPermissionList = this.file.operationPermissionList || [] if (this.file.expireDate) { this.shareOption.expiresDate = moment(this.file.expireDate).format('x') }