feat(ImagePreview): add image loading tip (#4378)

This commit is contained in:
neverland
2019-09-05 17:48:08 +08:00
committed by GitHub
parent b9c1dca67c
commit 3f8ffccb36
7 changed files with 138 additions and 94 deletions

View File

@@ -94,6 +94,7 @@ export default {
showImagePreview(position, timer) {
const instance = ImagePreview({
images,
lazyLoad: true,
swipeDuration: 300,
asyncClose: !!timer,
closeOnPopstate: true,