This commit is contained in:
杨航
2025-12-04 09:05:34 +08:00
parent 6cb5cce542
commit b82956d560
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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
}
}