vant/docs/markdown/v2-progress-tracking.md

57 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Vant 2.0
### Actionsheet
- [x] 重命名为 ActionSheet
改动原因:规范命名
### Button
- [x] 移除 bottom-action 属性
改动原因:冗余属性,可以被 square 和 size="large" 代替
### Field
- [x] 移除 onIconClick 属性
- [x] icon 属性重命名为 right-icon
- [x] icon 插槽重命名为 right-icon
- [x] click-icon 事件重命名为 click-right-icon
改动原因规范命名onIconClick 属性可以被 click-right-icon 代替
### GoodsAction
- [x] GoodsActionBigBtn 重命名为 GoodsActionButton
- [x] GoodsActionMiniBtn 重命名为 GoodsActionIcon
- [x] GoodsActionBigBtn 移除 primary 属性,新增 type 属性
改动原因:规范命名,统一用法
### Step
- [ ] 移除 icon 属性
- [ ] 移除 title 属性
- [ ] 移除 iconClass 属性
- [ ] 移除 description 属性
- [ ] 移除 message-extra 插槽
### Badge
- [ ] 重命名为 SideNav
### Loading
- [ ] 移除 circle 类型
- [ ] 移除 gradient-circle 类型
### Area
- [ ] 数据结构改驼峰
### SwipeCell
- [ ] 移除 left-width 属性
- [ ] 移除 right-width 属性