diff --git a/src/components/image-preview/preview-detail.vue b/src/components/image-preview/preview-detail.vue index 36ebdf4f..9bca4698 100644 --- a/src/components/image-preview/preview-detail.vue +++ b/src/components/image-preview/preview-detail.vue @@ -152,7 +152,7 @@ } if (this.fileType === 'video') { if (newval.indexOf('http') === 0) { - this.fileUrlShow = newval // + '?tk=' + getToken() + this.fileUrlShow = newval + '?tk=' + getToken() } else { if (newval && this.watching) { this.getPreviewUrlBlob(newval); @@ -239,7 +239,7 @@ if (this.fileId) { let _newDate = new Date().getTime() if (this.fileId.indexOf('http') === 0) { - this.fileUrlShow = this.fileId // + '?tk=' + getToken() + '&t=' + _newDate + this.fileUrlShow = this.fileId + '?tk=' + getToken() + '&t=' + _newDate } else { this.getPreviewUrlBlob(this.fileId); } @@ -269,7 +269,7 @@ return } let _newDate = new Date().getTime() - this.fileUrlShow = getPreviewFileUrl(this.fileId) // + '?tk=' + getToken() + '&t=' + _newDate + this.fileUrlShow = getPreviewFileUrl(this.fileId) + '?tk=' + getToken() + '&t=' + _newDate // downloadFile(id).then(res=>{ // this.fileUrlShow = res.tempFilePath // this.storageStore.setStorage('video', id, this.fileUrlShow) @@ -328,7 +328,7 @@ left: 50%; transform: translate(-50%, -50%); } - .overlay-box .video-cont-bottoom { + .overlay-box .video-cont-bottom { width: 100vw; max-height: 100%; position: absolute;