npm element-ui 1.3.0
1.3.0 Beryllium

latest releases: 2.15.14, 2.15.13, 2.15.12...
7 years ago

新特性:

  • 新增 Transfer 组件
  • 新增 transition 的文档,现在用户可以使用内置 transition 了
  • Slider 新增垂直模式,使用 vertical 属性即可打开,#4410(by @devange
  • CheckboxGroup 新增按钮模式,#3697(by @mdartic
  • Table
    • 新增 setCurrentRow 方法,#4390
    • 新增表尾合计行的功能,提供 show-summarysum-textsummary-method#4484
    • TableColumn 新增 filter-placement 属性,#4491
  • Dialog
    • 新增 before-close 属性,#4432
    • 新增 visible 属性,且支持 .sync 修饰符,#4539
  • Upload
    • 新增 disabled 属性,#4473
    • on-change 事件现在也会在添加文件后触发,#4447
    • 新增 abort 方法,#4575
  • Switch 新增 on-valueoff-value 属性,支持自定义两种状态的值,#4403
  • DatePicker
  • 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
    • 不能选择同一个文件的问题,#4461
    • auto-upload 为 false 时不显示预览图片的问题,#4572
    • 一些样式问题,#4643
  • 嵌套在 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
    • Added setCurrentRow method, #4390
    • Added summary row, with three attributes: show-summary, sum-text and summary-method, #4484
    • Added filter-placement attribute for TableColumn, #4491
  • Dialog
    • Added a before-close hook, #4432
    • Added visible attribute, which supports the .sync modifier, #4539
  • Upload
    • Added disabled attribute, #4473
    • on-change now also triggers when a file is added, #4447
    • Added abort method
  • Switch now supports on-value and off-value, so that you can customize its values, #4403
  • DatePicker
  • Added label attribute for CarouselItem, #4317 (by @paul-blundell)
  • message of MessageBox now supports VNode, #4550
  • current-page of Pagination current-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
    • not able to select the same file multiple times, #4461
    • not displaying preview image when is auto-upload false, #4572
    • some style errors, #4643
  • 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+

Don't miss a new element-ui release

NewReleases is sending notifications on new releases.