mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
breaking change(Button): adjust default native-type to button
This commit is contained in:
@@ -170,6 +170,7 @@ Vue 3.0 中增加了 `Teleport` 组件,提供将组件渲染到任意 DOM 位
|
||||
|
||||
- 蓝色按钮对应的类型由 `info` 调整为 `primary`
|
||||
- 绿色按钮对应的类型由 `primary` 调整为 `success`
|
||||
- `native-type` 的默认值由 `submit` 调整为 `button`
|
||||
|
||||
#### Dialog
|
||||
|
||||
|
Reference in New Issue
Block a user