mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] ImagePreview: should reset onClose & onChange option (#3960)
This commit is contained in:
parent
42a5166ac1
commit
dc0e71556b
@ -11,6 +11,8 @@ const defaultConfig = {
|
|||||||
minZoom: 1 / 3,
|
minZoom: 1 / 3,
|
||||||
maxZoom: 3,
|
maxZoom: 3,
|
||||||
className: '',
|
className: '',
|
||||||
|
onClose: null,
|
||||||
|
onChange: null,
|
||||||
lazyLoad: false,
|
lazyLoad: false,
|
||||||
showIndex: true,
|
showIndex: true,
|
||||||
asyncClose: false,
|
asyncClose: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user