Commit f33ce365 authored by xinzhedeai's avatar xinzhedeai

fix: 特征作业样式修改;图片预览显示问题

parent 21acc8c7
html, html,
body { body {
letter-spacing: 0.01rem; letter-spacing: 0.01rem;
background-color: #f5f6fa;
} }
.wrapper { .wrapper {
......
...@@ -227,12 +227,12 @@ window.addEventListener("load", function() { ...@@ -227,12 +227,12 @@ window.addEventListener("load", function() {
}, },
showImage(list, index) { showImage(list, index) {
const attachmentFile = list.map((item) => { const images = list.map((item) => {
return this.previewUrl + item return this.previewUrl + item
}) })
console.log(attachmentFile, 'attachmentFile')
vant.ImagePreview({ vant.ImagePreview({
attachmentFile, images,
startPosition: index, startPosition: index,
closeable: true, 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