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
+4
View File
@@ -175,6 +175,10 @@ Vue 3.0 中增加了 `Teleport` 组件,提供将组件渲染到任意 DOM 位
- `before-close` 属性用法调整,不再传入 done 函数,而是通过返回 Promise 来控制
#### ImagePreview
- 移除 `async-close` 属性,可以使用新增的 `before-close` 属性代替
#### Picker
- 移除 change 事件的第一个参数(picker 实例)