[bugfix] ImagePreview: should reset onClose & onChange option (#3960)

This commit is contained in:
neverland 2019-07-25 14:55:17 +08:00 committed by GitHub
parent 42a5166ac1
commit dc0e71556b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,8 @@ const defaultConfig = {
minZoom: 1 / 3,
maxZoom: 3,
className: '',
onClose: null,
onChange: null,
lazyLoad: false,
showIndex: true,
asyncClose: false,