Commit 66a5840e authored by xinzhedeai's avatar xinzhedeai

fix:图片预览地址拼接

parent 05a74f02
......@@ -113,8 +113,11 @@ window.addEventListener('load', function () {
}
},
showImage(list, index) {
const images = list.map((item)=>{
return this.previewUrl + item
})
vant.ImagePreview({
images: list,
images,
startPosition: index,
closeable: true,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment