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

@@ -542,7 +542,6 @@ export default createComponent({
ImagePreview({
images: this.imageList,
startPosition: index,
closeOnPopstate: true,
onClose: () => {
this.$emit('close-preview', params);
},