fix: bug
This commit is contained in:
@@ -84,8 +84,8 @@ export default {
|
||||
const base_url = get_base_url(this.fileApiSrc)
|
||||
let _id = data?.fileId
|
||||
let fileUrl = base_url + this.fileApiSrc + _id + this.userParams
|
||||
this.showUrl = this.viewerUrl + '?url=' + fileUrl
|
||||
console.log(this.showUrl)
|
||||
this.showUrl = this.viewerUrl + '?url=' + encodeURIComponent(fileUrl)
|
||||
console.log(this.showUrl)
|
||||
this.showView = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user