mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
feat(ImagePreview): enable close-on-popstate by default (#6875)
This commit is contained in:
@@ -258,7 +258,6 @@ export default createComponent({
|
||||
this.imagePreview = ImagePreview({
|
||||
images: imageContents,
|
||||
startPosition: imageFiles.indexOf(item),
|
||||
closeOnPopstate: true,
|
||||
onClose: () => {
|
||||
this.$emit('close-preview');
|
||||
},
|
||||
|
Reference in New Issue
Block a user