mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[improvement] Uploader: should close image preview when popstate (#4151)
This commit is contained in:
@@ -176,6 +176,7 @@ export default createComponent({
|
|||||||
|
|
||||||
ImagePreview({
|
ImagePreview({
|
||||||
images: imageFiles,
|
images: imageFiles,
|
||||||
|
closeOnPopstate: true,
|
||||||
startPosition: imageFiles.indexOf(item.content || item.url)
|
startPosition: imageFiles.indexOf(item.content || item.url)
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user