operationPermissionList Adapt to old versions
This commit is contained in:
parent
5323d91abd
commit
160dfc14fb
@ -225,7 +225,7 @@ export default {
|
|||||||
this.shareOptionConfig.linkLabel = '分享链接'
|
this.shareOptionConfig.linkLabel = '分享链接'
|
||||||
this.setShareLink(this.getShareLink(this.file.shareId))
|
this.setShareLink(this.getShareLink(this.file.shareId))
|
||||||
this.shareOption.isPrivacy = this.file.isPrivacy
|
this.shareOption.isPrivacy = this.file.isPrivacy
|
||||||
this.shareOption.operationPermissionList = this.file.operationPermissionList
|
this.shareOption.operationPermissionList = this.file.operationPermissionList || []
|
||||||
if (this.file.expireDate) {
|
if (this.file.expireDate) {
|
||||||
this.shareOption.expiresDate = moment(this.file.expireDate).format('x')
|
this.shareOption.expiresDate = moment(this.file.expireDate).format('x')
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user