Commit 2005a5c8 authored by Jenny's avatar Jenny

feat: 弹框预览图片

parent 9b358fe8
......@@ -80,8 +80,9 @@ export default {
this.$emit('close')
},
seeImage(key) {
const images = this.popupData.map(item => item[key])
uni.previewImage({
current: this.index,
current: this.currentIndex,
urls: images
})
}
......
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