新特性:
- 新增 Transfer 组件
- 新增 transition 的文档,现在用户可以使用内置 transition 了
- Slider 新增垂直模式,使用
vertical
属性即可打开,#4410(by @devange) - CheckboxGroup 新增按钮模式,#3697(by @mdartic)
- Table
- Dialog
- Upload
- Switch 新增
on-value
和off-value
属性,支持自定义两种状态的值,#4403 - DatePicker
- 新增
default-value
属性,用于设定下拉框初次弹出时显示的日期,#4222(by @wacky6) - 支持动态改变
type
,#4417(by @coffeedeveloper)
- 新增
- CarouselItem 新增
label
属性,#4317(by @paul-blundell) - MessageBox 的
message
属性增加对 VNode 的支持,#4550 - Pagination 的
current-page
增加对.sync
的支持,#4539 - Form 新增名为 label 的 slot,用于自定义标签文本的内容,#4634
修复:
- Select 和 Table 的某些功能与 Vue 2.3.x 不兼容的问题,#4518
- DatePicker 的
disabledDate
对手动在输入框中输入的值无效的问题,#4309 - Tree 的树节点 ID 为数字 0 时的一些问题,#4415
- TimePicker 在完成选择后数字不居中显示的问题,#4425(by @pengchongfu)
- Autocomplete 在输入中文时频繁触发搜索方法的问题,#4393(by @qazbnm456)
- Upload
- 嵌套在 FormItem 中的按钮样式的 RadioGroup 的样式问题,#4336
- ColorPicker 修复将绑定值赋值为空不会清空颜色面板的问题,#4668(by @pengchongfu)
- Table 修复在 Safari 下
show-overflow-tooltip
无效的问题,#4157(by @renxia)
非兼容性更新:
- 最低兼容 Vue 2.3.0
New features:
- New component: Transfer
- Now you can use our pre-defined transitions
- Vertical mode for Slider, can be activated by the
vertical
attribute, #4410 (by @devange) - Button style for CheckboxGroup, #3697 (by @mdartic)
- Table
- Dialog
- Upload
- Switch now supports
on-value
andoff-value
, so that you can customize its values, #4403 - DatePicker
- Added
default-value
attribute for initially displayed date in the dropdown, #4222 (by @wacky6) type
now supports dynamic updates, #4417 (by @coffeedeveloper)
- Added
- Added
label
attribute for CarouselItem, #4317 (by @paul-blundell) message
of MessageBox now supports VNode, #4550current-page
of Paginationcurrent-page
now supports.sync
, #4539- Added
label
slot for Form, so you can customize label's content, #4634
Fixes:
- Compatibility issues of Select and Table with Vue 2.3.x, #4518
disabledDate
of DatePicker having no effect on typed value in the input box, #4309- An issue when the key of a Tree node is number 0, #4415
- TimePicker number not align when picked, #4425 (by @pengchongfu)
- Autocomplete frequently triggering searching method when typing Chinese, #4393 (by @qazbnm456)
- Upload
- Style bug of RadioGroup when nested in a FormItem, #4336
- ColorPicker not clear the color panel when bound value is emptied, #4668 (by @pengchongfu)
show-overflow-tooltip
of Table not working in Safari, #4157 (by @renxia)
Breaking changes:
- Only compatible with Vue 2.3.0+