mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
[improvement] Sku: should close image preview when popstate (#4152)
This commit is contained in:
@@ -368,6 +368,7 @@ export default createComponent({
|
||||
ImagePreview({
|
||||
images: this.imageList,
|
||||
startPosition: index,
|
||||
closeOnPopstate: true,
|
||||
onClose: () => {
|
||||
this.$emit('close-preview', params);
|
||||
}
|
||||
|
Reference in New Issue
Block a user