[new feature] ImagePreview: add change event (#3155)

This commit is contained in:
neverland
2019-04-15 20:09:42 +08:00
committed by GitHub
parent e8762b2a50
commit 8d1c02cfbd
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ export default {
| 事件 | 说明 | 回调参数 |
|------|------|------|
| close | 关闭时触发 | { index: 索引, url: 图片链接 } |
| change | 切换当前图片时触发 | index, 当前图片的索引 |
### onClose 回调参数