Commit 0e10533e authored by youjie's avatar youjie

no message

parent eb408ddb
...@@ -163,6 +163,15 @@ ...@@ -163,6 +163,15 @@
}, },
showImageHandler(url,img) { showImageHandler(url,img) {
this.images = img this.images = img
let index = 0
let images = this.images
this.$viewerApi({
options: {
initialViewIndex: index,
},
images,
});
return
this.currentImage = url this.currentImage = url
this.showImagePriview = true this.showImagePriview = true
}, },
......
...@@ -1020,6 +1020,15 @@ export default { ...@@ -1020,6 +1020,15 @@ export default {
this.showOrderPreview = !this.showOrderPreview this.showOrderPreview = !this.showOrderPreview
}, },
showImageHandler(url) { showImageHandler(url) {
let index = 0
let images = this.images
this.$viewerApi({
options: {
initialViewIndex: index,
},
images,
});
return
this.currentImage = url this.currentImage = url
this.showImagePriview = true this.showImagePriview = 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