Commit 40b95a7e authored by leon's avatar leon

feat:previewImage of miniProgram does not support 'indicator' and 'loop'

parent f46d5e05
...@@ -54,9 +54,7 @@ ...@@ -54,9 +54,7 @@
if (preview) { if (preview) {
uni.previewImage({ uni.previewImage({
current: event.dataIndex, current: event.dataIndex,
urls: images, urls: images
indicator: 'number',
loop: true
}) })
} else { } else {
this.handleEchartsClick(event) this.handleEchartsClick(event)
......
...@@ -93,9 +93,7 @@ ...@@ -93,9 +93,7 @@
} }
uni.previewImage({ uni.previewImage({
current: index, current: index,
urls: images, urls: images
indicator: 'number',
loop: true
}) })
} }
} }
......
...@@ -111,9 +111,7 @@ ...@@ -111,9 +111,7 @@
} }
uni.previewImage({ uni.previewImage({
current: index, current: index,
urls: images, urls: images
indicator: 'number',
loop: 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