feat(ImagePreview): enable close-on-popstate by default (#6875)

This commit is contained in:
neverland
2020-07-25 15:01:40 +08:00
committed by GitHub
parent e15abf4f0f
commit 41d4f9c160
7 changed files with 25 additions and 24 deletions

View File

@@ -88,7 +88,6 @@ export default {
swipeDuration: 300,
asyncClose: !!timer,
closeable,
closeOnPopstate: true,
startPosition: typeof position === 'number' ? position : 0,
});