fix: 无法浏览聊天图片的问题

This commit is contained in:
kuaifan 2022-02-25 14:38:40 +08:00
parent b5ccba552f
commit 478d63893b
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ export default {
}, },
previewUrl() { previewUrl() {
return $A.apiUrl("../fileview/onlinePreview?url=" + encodeURIComponent(this.msgDetail.url)) return $A.apiUrl("../fileview/onlinePreview?url=" + encodeURIComponent(this.msgDetail.content.url))
} }
}, },
methods: { methods: {

View File

@ -120,7 +120,7 @@ export default {
}, },
previewUrl() { previewUrl() {
return $A.apiUrl("../fileview/onlinePreview?url=" + encodeURIComponent(this.fileDetail.url)) return $A.apiUrl("../fileview/onlinePreview?url=" + encodeURIComponent(this.fileDetail.content.url))
} }
}, },
methods: { methods: {