github ElemeFE/element v1.4.0
1.4.0 Boron

latest releases: v2.15.14, v2.15.13, v2.15.12...
6 years ago

新特性:

  • Message
  • ColorPicker
    • 新增 active-change 事件,#5775
  • Popover
  • Table
  • Tree
    • 新增 disabled 属性,#5937
  • Menu
    • 新增 collaspe 属性,#5941
  • Select
    • 新增 value-key 属性,#5897

修复:

  • DatePicker
    • 部分内部文案不受 i18n 控制的问题,#5485
    • 初始值为空时,选择时间后的返回值毫秒部分不为零的问题,#5663
    • disabledDate 范围被扩大的问题,#4946(by @liyangworld
  • Steps
    • 动态增减步骤后的样式错误,#5456(by @elfman
  • Table
    • 带有固定列且可展开时,鼠标 hover 高亮行错位的问题,#5471(by @elfman
    • 部分浏览器不支持 classList 的问题,#5613(by @flynntsc
  • Select
    • 单选时打开下拉框有时无法定位到已选中项的问题,#5564(by @wacky6
    • 多选时 Vue 2.4.x 报错的问题,#5897
  • Radio
    • RadioGroup 内只有一个 Radio 时的圆角丢失问题,#5646(by @YYvanYang
  • Upload
    • auto-upload 为 false 时,无法选择之前删除的文件的问题,#5706
    • disabled 时删除按钮仍可见并可操作的问题,#5841
    • 兼容 Vue 2.4 key 不能是对象的问题,#5872
  • MessageBox
    • confirmprompt 情况下点击取消按钮仍然被 resolve 的问题,#5658
  • Rate
    • 初始值带有小数时,激活的 icon 不显示小数部分的问题,#5785
  • Pagination
  • Loading
    • 不可见元素绑定 Loading 时的样式错误,#5649(by @xiongzixiao)
  • Cascader
    • 输入框中的文字未垂直居中的问题,#5819(by @jianzhi92)
  • Tree
    • 在 lazy 模式下 setCheckedKeyssetCheckedNodes 方法的 bug,#5937
    • 在 lazy 模式下勾选父级节点会一次性加载全部后代节点的问题,#5963
  • Form
    • 未在 FormItem 上指定 label 时,label 的具名 slot 失效的问题,#5921
  • Tooltip
    • Vue 2.4.x 下触发元素为自定义组件时不工作的问题,#5916

非兼容性更新:

  • Select
    • 值为对象类型时,需要提供一个 value-key 作为唯一性标识,#5897

New features:

  • Message
  • ColorPicker
    • Added active-change event, #5775
  • Popover
  • Table
    • A third parameter value is passed to formatter, #5709 (by @haledeng)
  • Tree
    • Added disabled attribute, #5937
  • Menu
    • Added collaspe attribute, #5941
  • Select
    • Added value-key attribute, #5897

Bug fixes:

  • DatePicker
    • i18n failure for some texts, #5485
    • returning a non-zero millisecond value when initial value is empty, #5663
    • disabledDate affecting undesired date, #4946 (by @liyangworld)
  • Steps
    • style problems when a step is dynamically added or removed, #5456 (by @elfman)
  • Table
    • highlight row misplaced when an expandable Table has fixed table columns, #5471 (by @elfman)
    • classList not supported in some browsers, #5613 (by @flynntsc)
  • Select
    • single Select unable to scroll to the selected item when the dropdown menu pops up, #5564(by @wacky6
  • Radio
    • border radius lost in RadioGroups with only one Radio, #5646 (by @YYvanYang)
  • Upload
    • unable to reselect previously deleted file when auto-upload is false, #5706
    • delete button still visible and functioning when disabled, #5841
    • compatibility issue with Vue 2.4 key, #5872
  • MessageBox
    • clicking cancel buttons getting resolved when not invoked as a confirm or prompt, #5658
  • Rate
    • active icons not reflecting decimal part of initial value, #5785
  • Pagination
    • compatibility issue of total page display with vue-i18n@6.x, #5796 (by @Mario56)
    • apostrophe incorrectly showing up when current page is one page less than total page, #5861 (by @openks)
  • Loading
    • style problems when bound to invisible elements, #5649 (by @xiongzixiao)
  • Cascader
    • text in the input box not vertically aligned, #5819 (by @jianzhi92)
  • Tree
    • setCheckedKeys and setCheckedNodes in lazy mode, #5937
    • loading all descendent nodes when a parent node is checked in lazy mode, #5963
  • Form
    • label named slot not working when label is not assigned on FormItem, #5921
  • Tooltip
    • not working in Vue 2.4.x when the triggering element is a custom component, #5916

Breaking change:

  • Select
    • when value is an object, value-key is required as its unique identity key, #5897

Don't miss a new element release

NewReleases is sending notifications on new releases.