breaking change(ImagePreview): remove asyncClose and add beforeClose

This commit is contained in:
chenjiahan
2020-09-06 10:31:14 +08:00
parent 21c30cbbf8
commit 89a39f05bc
8 changed files with 39 additions and 21 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const defaultConfig = {
showIndex: true,
closeable: false,
closeIcon: 'clear',
asyncClose: false,
beforeClose: null,
startPosition: 0,
swipeDuration: 500,
showIndicators: false,