Releases: ElemeFE/element
Releases · ElemeFE/element
2.4.4
- 修复重置表单后触发 Select 组件校验问题,#11837
- 修复 Input 组件
suffix
与append
共存时样式错乱问题,#11951 - 修复可清空的只读 Input 仍会显示清空图标的问题,#11967
- 修复 Tree 节点禁用时仍可以选中的问题,#11847
- 修复 Tree
default-checked-keys
属性不生效的问题,#11971 - 修复 Tree 在过滤节点时下
empty-text
不显示的问题,#11971 - 修复 Table 的
empty-text
过长时的位置样式问题,#11965 - 修复 Table 的
current-row-key
设置为null
时高亮行不清除的问题,#11866 - 修复当
filters
为空数组时显示过滤器下拉列表的问题,#11864 - 修复 Radio 的 label 不阻止事件冒泡的问题,#11912
- Fixed triggering Select validation after Form resetting, #11837
- Fixed wrong position of Input
suffix
slot whensuffix
slot withappend
slot, #11951 - Fixed clearable Input still displaying the clear icon when readonly, #11967
- Fixed Tree node checked when it's disabled, #11847
- Fixed Tree's
default-checked-keys
not working, #11971 - Fixed
empty-text
not visible when Tree node filtered, #11971 - Fixed the position of oversized
empty-text
in Table, #11965 - Fixed Table row not be unhighlighted when
current-row-key
is assigned tonull
, #11866 - Fixed showing filter dropdown when
filters
is an empty array, #11864 - Fixed Radio's label does not stop event propagation, #11912
2.4.3
2.4.2
- 修复 Table 的
class-name
和label-class-name
属性不支持动态更新的问题,#11626 - 修复 Table 在
highlight-current-row
为false
时点击行也会触发高亮的问题,#11691 #11563 - 修复 ButtonGroup 中只有一个
round
或circle
的 Button 时的样式错误,#11605 - 修复在某些情况下 Pagination 的条目数选择器的样式错误,#11622
- 修复 Menu 的
collapse
属性变化后无法使用open
方法的问题,#11646 - Tabs 的
before-leave
钩子添加了activeName
和oldActiveName
参数,#11713 - 修复 Cascader 关闭后的聚焦问题,#11588
- 修复 Cascader 在
change-on-select
状态下点击选项不关闭的问题,#11623 - 现在通过代码改变 Select 的值后会触发表单校验,与 Input 行为一致,#11672
- Now
class-name
andlabel-class-name
of Table are reactive, #11626 - Fixed Table still highlighting clicked row when
highlight-current-row
isfalse
, #11646 - Fixed a style bug of ButtonGroup when it has only one
round
orcircle
Button, #11605 - Fixed style of page size Select of Pagination, #11622
- Fixed Menu's
open
method error whencollapse
is dynamically changed, #11646 - Added
activeName
andoldActiveName
parameters to the before-leave hook of Tabs, #11713 - Fixed Cascader focused after outside clicked, #11588
- Fixed Cascader not closing when option is clicked when
change-on-select
is true, #11623 - Now updating Select's value programmatically will trigger form validation, #11672
v2.4.1
- 移除 Autocomplete 的重复类型声明,#11388
- 修复嵌套在 Form 内的 Select 在 FireFox 浏览器中下拉箭头错位的问题,#11427
- 修复 Select 的初始值为
null
时仍然显示清除图标的问题,#11460 - 修复禁用的 Radio 在点击时显示 box-shadow 的问题,#11462
- 新增 MessageBox 的
iconClass
属性,#11499 - 新增 Tabs 的
stretch
属性,#11476 - 修复 Tabs 开启
lazy
时渲染顺序异常的问题,#11461 - 修复 Table 展开行时无法保留选中行样式的问题,#11464
- 修复 Tabs 调用
before-leave
并返回 Promise 的时候,Tabs 会存在 focus 状态的问题,#11386 - 修复 Popover 禁用状态下创建弹出框的问题,#11426
- 修复 Tree 在懒加载状态下添加新节点造成无限循环的问题,#11430 (by @wangjingf)
- 新增 Dialog 的
closed
事件,#11490
- Removed Autocomplete's duplicate type declaration, #11388
- Fixed Select's dropdown arrow style in FireFox when nested in Form, #11427
- Fixed clear icon of Select still showing when the initial value is
null
, #11460 - Fixed disabled radio showing box-shadow when clicked, #11462
- Added
iconClass
attribute for MessageBox, #11499 - Added
stretch
attribute for Tabs, #11476 - Fixed rendering order issue of TabPane when Tabs is
lazy
, #11461 - Fixed Table not retaining current highlight row when expanded, #11464
- Fixed focusing state when
before-leave
returns a resolved promise, #11386 - Fixed disabled Popover still creating poppers, #11426
- Fixed Tree's endless loop when a new node is added in lazy mode, #11430 (by @wangjingf)
- Added
closed
event for Dialog, #11490
2.4.0 Fullerene
新特性
- 综合
- Autocomplete
- 新增
hide-loading
属性,#11260
- 新增
- Button
- 现在圆形按钮也支持通过
size
属性改变其尺寸了,#11275
- 现在圆形按钮也支持通过
- InputNumber
- 新增
precision
属性,#11281
- 新增
- Tabs
- Table
- 新增
sort
方法,支持手动排序,#11311
- 新增
修复
- Input
- 修复使用中文输入法快速输入文字时会导致视图重新渲染的问题,#11235(by @STLighter)
- Popover
- 修复当触发元素为 Radio 或 Checkbox 时控制台报错的问题,#11265
- Breadcrumb
- 修复
to
属性不支持动态更新的问题,#11286
- 修复
- Upload
- Tooltip
- 修复内容为空时箭头错位的问题,#11335
- Autocomplete
- 修复在快速删除搜索内容后输入建议不正确的问题,#11323
- ColorPicker
- 修复关闭选色器时触发
active-change
事件的问题,#11304
- 修复关闭选色器时触发
- Table
- Checkbox
- 修复单个 Checkbox 不支持表单验证的问题,#11271
- Radio
- 修复通过空格可以选中被禁用的 Radio 的问题,#11303
- MessageBox
- 修复连续打开两个 MessageBox 时
el-popup-parent--hidden
无法移除的问题,#11371
- 修复连续打开两个 MessageBox 时
New features
- General
- Autocomplete
- Added
hide-loading
attribute, #11260
- Added
- Button
- Now you can use the
size
attribute on circle buttons to control their sizes, #11275
- Now you can use the
- InputNumber
- Added
precision
attribute, #11281
- Added
- Tabs
- Table
- Added
sort
method to manually sort the table, #11311
- Added
Bug fixes
- Input
- Fixed an issue that causes a re-render when using the Chinese IME to quickly input text, #11235 (by @STLighter)
- Popover
- Fixed the console error when the triggering element is Radio or Checkbox, #11265
- Breadcrumb
- Fixed the
to
attribute not supporting dynamic update, #11286
- Fixed the
- Upload
- Tooltip
- Fixed arrow not positioned correctly when content is empty, #11335
- Autocomplete
- Fixed incorrect input suggestions after deleting keyword quickly, #11323
- ColorPicker
- Fixed
active-change
event incorrectly triggering when picker dropdown is closed, #11304
- Fixed
- Table
- Checkbox
- Fixed single checkbox not supporting validation, #11271
- Radio
- Fixed disabled Radio still being selected when pressing space key, #11303
- MessageBox
- Fixed the
el-popup-parent--hidden
class not removed when opening MessageBox in succession, #11371
- Fixed the
2.3.9
- 修复当 TableColumn 的
prop
属性指定的字段在数据源中不存在时,鼠标移入该列单元格会报错的问题,#11137 - 弹出类组件的
lockScroll
属性不再为父元素添加内联样式,而是添加相应类名,#11114 - 修复 Progress 在
status
为 exception 时图标不显示的问题,#11172 - 修复可搜索的 Cascader 在输入关键词后,选项的
disabled
属性失效的问题,#11185 - 修复可展开的 Table 在展开某一行后更新数据源会造成该行无法收起的问题,#11186
- Tree 的
setCurrentKey
方法支持传入null
,可取消当前高亮的节点,#11205
- Fixed when the source data does not have the field specified by a TableColumn's
prop
attribute, an error would occur when the mouse moves into that column's cells, #11137 - The
lockScroll
attribute of pop up components no longer adds an inline style to the parent element, but instead adds a class name, #11114 - Fixed the icon of Progress not displaying when its
status
is exception, #11172 - Fixed options'
disabled
attribute not working in filterable Cascader's filter result list, #11185 - Fixed an issue where Table's expanded row cannot be collapsed if the data source is updated after its expansion, #11186
setCurrentKey
of Tree now acceptsnull
as its param to cancel the currently highlighted node, #11205
2.3.8
- 修复
type
为 dates 的 DatePicker 在选择非当前月的日期后,面板会跳转至当前月的问题,#10973 - 修复可清空的只读 Input 仍会显示清空图标的问题,#10912
- 修复范围选择的 DatePicker 在未改变值的情况下关闭下拉面板仍会触发
change
事件的问题,#11017 - 修复 Select 在有分组选项时不能正确通过键盘导航的问题,#11058
- 新增 Select 的
prefix
具名 slot,#11063 - 新增 FormItem 的
clearValidate
方法,#11076 - 新增 Tree 的
checkOnClickNode
属性,#11111
- Fixed DatePicker panel jumping to the current month after picking a date in a non-current month when
type
is dates, #10973 - Fixed clearable Input still displaying the clear icon when readonly, #10912
- Fixed closing the DatePicker panel without changing the value incorrectly triggering the
change
event, #11017 - Fixed keyboard navigation not working properly when Select has grouped options, #11058
- Added
prefix
named slot for Select, #11063 - Added 'clearValidate` method for FormItem, #11076
- Added
checkOnClickNode
attribute for Tree, #11111
2.3.7
- 修复 Table 在由于筛选而使原有的滚动条消失后表头各列宽度未及时更新的问题,#10834
- 修复可清空的 Input 在初始值为
null
时仍然显示清空图标的问题,#10912 - 修复在通过代码改变 ColorPicker 的绑定值后错误地触发
active-change
事件的问题,#10903(by @zhangbobell) - 修复可搜索的 Select 在备选项均被禁用时,通过键盘导航会造成无限循环的问题,#10945
- Fixed Table not updating its header widths when the scroll bar disappears due to filtering, #10834
- Fixed clearable Input still showing the clear icon when its initial value is
null
, #10912 - Fixed incorrect trigger of the
active-change
event after changing ColorPicker's binding value programatically, #10903 (by @zhangbobell) - Fixed filterable Select causing an infinite loop when navigating options using keyboard if all options are disabled, #10945
2.3.6
2.3.5
- 修复 DatePicker 的
type
为 week 时面板错误高亮的问题,#10712 - 修复 InputNumber 初始值为 0 时输入框为空的问题,#10714
- 新增 Select 的
automatic-dropdown
属性,#10042(by @Seebiscuit) - 修复
disabled
的 Rate 仍能通过键盘左右键改变组件值的问题,#10726(by @Richard-Choooou) - 现在 DatePicker 的
type
属性可以接收'dates'
,用于选择多个日期,#10650(by @Mini256) - 新增 Pagination 的
prev-click
和next-click
事件,#10755 - 新增 Pagination 的
pager-count
属性,#10493(by @chongjohn716) - 新增
type
作为 Tree 的allow-drop
属性回调的第三个参数,#10792 - 改用 ResizeObserver 对元素的尺寸变化进行监测,#10779
- Fixed incorrect highlights in DatePicker panel when
type
is week, #10712 - Fixed InputNumber being empty when its initial value is 0, #10714
- Added
automatic-dropdown
attribute for Select, #10042 (by @Seebiscuit) - Fixed disabled Rate's value still being updated by navigation keys, #10726 (by @Richard-Choooou)
- Now DatePicker's
type
attribute can be'dates'
, where you can pick multiple dates in one picker, #10650 (by @Mini256) - Added
prev-click
andnext-click
events for Pagination, #10755 - Added
pager-count
attribute for Pagination, #10493 (by @chongjohn716) - Added
type
as the 3rd param of Tree'sallow-drop
attribute callback, #10792 - Now we use ResizeObserver to detect DOM element resizing, #10779