修改图片预览失真问题

This commit is contained in:
mengxiaolong
2020-08-27 19:05:41 +08:00
parent dd1532d814
commit c392a86fda

View File

@@ -70,7 +70,7 @@ export default {
this.totalPage = res.pageInfo.pages
this.posterList = res.pageInfo.list
for (let item of this.posterList) {
let url = (config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.posterNarrowUrl}`).replace(/\+/g, '%2B')
let url = (config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${item.posterUrl}`).replace(/\+/g, '%2B')
item.realUrl = url
this.imgUrls.push(url)
}