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') }