From 0d325dac2ee11c91910cb19d2c0b3319b89ab260 Mon Sep 17 00:00:00 2001 From: Amorcy Date: Thu, 16 Apr 2020 16:33:30 +0800 Subject: [PATCH] Update README.md update close callback --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9de925..50a297b 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Vue.use(preview) ### 2018-09-28 更新 //添加对原插件photoswipe的事件响应,示例: ``` -this.$preview.on('close',())=>{//close只是众多事件名的其中一个,更多请查看文档 +this.$preview.on('close',()=>{//close只是众多事件名的其中一个,更多请查看文档 console.log('图片查看器被关闭') }) ```