breaking change(ImagePreview): remove asyncClose and add beforeClose
This commit is contained in:
@@ -175,6 +175,10 @@ Vue 3.0 中增加了 `Teleport` 组件,提供将组件渲染到任意 DOM 位
|
||||
|
||||
- `before-close` 属性用法调整,不再传入 done 函数,而是通过返回 Promise 来控制
|
||||
|
||||
#### ImagePreview
|
||||
|
||||
- 移除 `async-close` 属性,可以使用新增的 `before-close` 属性代替
|
||||
|
||||
#### Picker
|
||||
|
||||
- 移除 change 事件的第一个参数(picker 实例)
|
||||
|
||||
Reference in New Issue
Block a user