mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] Uploader: should close image preview when popstate (#4151)
This commit is contained in:
parent
643003b43c
commit
a730a55e3b
@ -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)
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user