[bugfix] ImagePreview: should reset onClose & onChange option (#3960)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user