Releases: ElemeFE/element
Releases · ElemeFE/element
1.1.5
1.1.4
- 修复 Input Number 在主动改变绑定值时也会触发 change 事件的问题,#2329
- 修复 Menu 在启用 router 模式后没有对
$route
变化进行响应的问题,#2391 - 修复 Menu、Tree 在快速点击时出现展开状态错误的问题,#2354
- 修复 Input Number 和 Checkbox Group 的 change 事件触发时机,现在主动改变绑定值时不触发该事件。
- 新增 Input 增加点击图标后的钩子函数属性,#2414
- 新增 Radio Group 的
disabled
属性,#2411 - 新增 Tree 增加
accordion
属性,#2408 - 新增 Form 增加
show-message
属性,#2356 - 修复 Table 排序点击区域,调整默认排序的 API,#2309 #2405(by @njleonzhang)
- 修复 DatePicker firstDayOfWeek 在范围类型中无法使用,#2353
- 修复 DatePicker 初始值为 null 显示 1970,#2388
- 修复 Table 缺少 filteredValue 属性,#2348
- 修复 Table 空数据时且存在滚动条时的样式,#2396
- 新增 MessageBox 的
beforeClose
属性,#2204 - 修复可过滤的 Select 点击三角图标不显示下拉框的问题,#2389
非兼容性更新
- 1.1.3 新增的
default-sort-prop
和default-sort-order
属性现在合并为一个对象类型属性 - Fixed Input Number triggering
change
event when bound value is changed programmatically, #2329 - Fixed Menu not responding to
$router
changing in router mode, #2391 - Fixed Menu and Tree expanding state malfunctioning when clicked multiple times quickly, #2354
- Fixed
change
event triggering mechanism of Input Number and Checkbox Group, now they do not fire when bound value is changed programmatically - Added
on-icon-click
attribute for Input, #2414 - Added
disabled
attribute for Radio Group, #2411 - Added
accordion
attribute for Tree, #2408 - Added
show-message
attribute for Form, #2356 - Fixed sort clicking area of Table, updated default sorting related APIs, #2309 #2405 (by @njleonzhang)
- Fixed
firstDayOfWeek
not working in ranged typed of DatePicker, #2353 - Fixed DatePicker displaying 1970 when initial value is null, #2388
- Fixed
filteredValue
attribute for Table, #2348 - Fixed scrollable Table's style with empty data, #2396
- Added
beforeClose
attribute for MessageBox, #2204 - Fixed filterable Select not showing dropdown when triangle icon is clicked, #2389
Breaking change
- The
default-sort-prop
anddefault-sort-order
attributes added in 1.1.3 are now merged into an object-typed attribute
1.1.3
- 修复 DatePicker 页面加载后首次清空不会触发
change
事件,#2167 - 修复 DatePicker 选择下一年时,年份计算错误,#2152
- 新增 Table 的
default-sort-prop
和default-sort-order
属性,#2182(by @njleonzhang) - 修复有默认值的可搜索 Select 其他数据被过滤的问题,#2196
- 新增自定义 i18n 处理方法,方便和除了
vue-i18n
之外的插件使用,#2129 - 新增 Input
resize
属性,#2263(by @Kingwl) - 修复 Autocomplete 在 blur 事件触发时没有隐藏下拉列表的问题,#2247
- 修复 Tabs 嵌套使用时的样式问题,#2212(by @Kingwl)
- 修复 Tabs 默认激活非第一项时 tabBar 的显示位置不正确的问题,#2192
- Fixed DatePicker not firing change event when cleared for the first time upon page load, #2167
- Fixed DatePicker year calculating error when choosing the next year, #2152
- Added
default-sort-prop
anddefault-sort-order
attributes for Table, #2182 (by @njleonzhang) - Fixed filterable Select filtering other options with initial value, #2196
- Added custom i18n processing, making Element compatible with i18n plugins other than
vue-i18n
, #2129 - Added
resize
attribute for Input, #2263 (by @Kingwl) - Fixed Autocomplete not hiding dropdown when blurred, #2247
- Fixed style issues with nested Tabs, #2212 (by @Kingwl)
- Fixed Tabs' tab bar locating error when non-first item is initially activated, #2192
1.1.2
- 修复 Vue 2.1.7 升级导致的 Table
sortable
和fixed
无法使用的问题 - 修正 Input Number 在手动输入越界值时,blur 触发时没有重置为原来的值的问题,#2098
- 移除 Collapse 的
title
scoped slot, 并新增title
named slot,#2100 - 修复 TimePicker 范围选择无法使用的问题
- 修复 Tabs 删除非当前激活的 tab 后,当前激活的 tab 变化的问题,#2106
- 修复 Select 在使用方向键导航时控制台报错的问题,#2120
- 修复 Form 中可搜索的 Select 验证时机错误的问题,#2120
- Fixed
sortable
andfixed
attribute of Table not working in Vue 2.1.7+ - Fixed Input Number not resetting on blur when input with illegal values, #2098
- Removed
title
scoped slot of Collapse, and addedtitle
named slot, #2100 - Fixed range selection in TimePicker not working issue
- Fixed Tabs' active tab switching when a non-active tab is removed, #2106
- Fixed console error reporting when navigating Select with arrow keys, #2120
- Fixed incorrect validation timing of filterable Select in Form, #2120
1.1.1
- 修复由于编译而出现的不兼容新版 Vue 的问题
- Fixed compatibility issue with latest Vue due to compilation
1.1.0 Helium
新特性:
- 新增 Carousel、Collapse 组件
- 支持 SSR
- 组件内的滚动条样式优化
- Table 支持通过 Scoped Slots 传入模板;原来的
inline-template
仍然兼容,但是不再推荐使用,未来可能会被移除 - Table 支持展开行功能(Expandable rows)
- DatePicker 支持指定周起始日(first day of week)
- TimeSelect 支持设置
maxTime
- Autocomplete 新增
popper-class
属性 - Tab-Pane 新增 name 为 label 的具名
slot
,用于实现自定义标签内容
修复:
非兼容性更新:
- 最低兼容 Vue 2.1.6
- Form validateField() 方法回调的参数更新
- Alert 取消了 render-content 属性,现在自定义模板需要通过默认 slot 传入
- Input 和 Select 盒模型从
block
修改为inline-block
- Tabs 盒模型从
inline-block
修改为block
,Tab-Pane 移除label-content
属性 - Autocomplete 下拉列表现在直接插入到
<body>
标签下,而不是<el-autocomplete>
下
New features:
- Two brand new components: Carousel and Collapse
- SSR supported
- Scrollbars' style inside components is upgraded
- Table now supports custom templates via scoped slots; the good old
inline-template
is still compatible, but it's no longer recommended and is likely to be removed in the future - Table now supports expandable rows
- DatePicker now supports specifying the first day of week
- TimeSelect now supports
maxTime
- Autocomplete now supports
popper-class
- To customize template of Tab-Pane, now you can use the
slot
namedlabel
Fixes:
change
event of DatePicker incorrectly triggering multiple times, #2070- Width shaking of tab-pane while initializing, #1883
Breaking changes:
- Only compatible with Vue 2.1.6 and beyond
- Parameters of Form validateField() methods are updated
- Alert's render-content attribute is removed, and now you can pass your custom template via default slot
- The box models of Input and Select are updated from
block
toinline-block
- The box model of Tabs is updated from
inline-block
toblock
, and Tab-Pane'slabel-content
attribute is removed - The dropdown of Autocomplete now inserts directly to
<body>
, not<el-autocomplete>
any more
1.0.9
- 修复 DatePicker 不能正确触发 input 事件的问题,现在只有当日期改变时才触发,#1834
- 修复 Tree 在 Firefox 下会提示 event is undefined 的问题,#1945
- 新增 DatePicker 的
change
事件,返回和输入框一致的格式化后的值,#1841 - 新增 Table 的
header-align
属性,#1424 - 修复单选的 Table 在数据移除时,高亮状态仍然存在的问题,#1890
- 修复可搜索的 Select 在选项较多时的卡顿问题,#1933
- 修复多选的 Select 在禁用状态下仍然能够手动删除选中项的问题,#2001
- 修复 Col
xs
分辨率下样式无效的问题,#2011 - 新增 Tab 组件的
value
属性并支持v-model
用法,#2008 - 修复 Input Number 在某些条件下 change 事件被触发多次的问题,#1999
- 新增 DatePicker 的
clearable
属性,#1994 - 修复 Form 异步验证时某些条件下总是验证通过的问题,#1936
- Fixed DatePicker incorrectly triggering input event, #1834
- Fixed Tree reporting
event is undefined
error in Firefox, #1945 - Added
change
event for DatePicker, whose parameter is the formatted value, #1841 - Added
header-align
attribute for Table, #1424 - Fixed single select Table's highlight style not removing when data is removed, #1890
- Fixed filterable Select lagging issue with more options, #1933
- Fixed multiple disabled Select not disabling removing selected options issue, #2001
- Fixed Col style not working in
xs
, #2011 - Added
value
attribute for Tab, #2008 - Fixed InputNumber
change
event incorrectly firing multiple times in some conditions, #1999 - Added
clearable
attribute for DatePicker, #1994 - Fixed Form always passing validation in async mode, #1936
1.0.8
- 修复 Popup 在叠加使用时阻止事件冒泡,#1677
- 修复 DatePicker 类型为 datetimerange 时无法选择时间的问题,#1758
- 修复 Slider 的
change
事件不能正确触发的问题,#1809 - 修复 Loading 的 spinner 在某些情况下转动时出现碎片的问题,#1786
- 新增 Select 的
loading-text
、no-data-text
、no-match-text
属性和visible-change
事件,#1849 - 新增 DatePicker、Select 和 Tooltip 的
popper-class
属性,#1806 - 新增 Tree 的
expand-on-click-node
、current-node-key
属性和current-change
事件,#1805 #1807 - 新增 Table
row-click
事件的第三个参数column
,#1808 - 修复 Checkbox 的在路由切换时因为 computed 属性被缓存导致的bug,#1860
- 新增 TabPanel
label-content
渲染钩子方法中增加 tab 实例的参数,#1857 - 新增 NavMenu 组件增加无限级子菜单(vertical模式)的支持,#1851
- 新增 Checkbox 现在支持不绑定 value 也可以正常使用,#1818
- 新增 Progress 的
onProgress
钩子函数,#1782 - 修复 Tab 组件 active bar 在动态 label 下没有更新的问题,#1761
- 新增 Table 的
filter-change
事件和 TableColumn 的column-key
属性,#1876 - 新增 Dropdown
hide-on-click
属性, #1879 - Fixed nested Popup from event bubbling, #1677
- Fixed the issue that datetimerange-typed DatePicker can not select time, #1758
- Fixed
change
event not firing correctly of Slider, #1809 - Fixed Loading's spinner splitting while animating in some conditions, #1786
- Added
loading-text
,no-data-text
,no-match-text
properties andvisible-change
event for Select, #1849 - Added
popper-class
property for DatePicker, Select and Tooltip, #1806 - Added
expand-on-click-node
,current-node-key
properties andcurrent-change
event for Tree, #1805 #1807 - Added the third parameter
column
for Table'srow-click
event, #1808 - Fixed an error when pages with Checkbox switching routes due to
computed
property being cached, #1860 - Added the tab instance as a parameter for TabPanel's
label-content
render function, #1857 - Added infinite submenus support for NavMenu in vertical mode, #1851
- Updated Checkbox so that it works without a binding value, #1818
- Added
onProgress
hook for Progress, #1782 - Fixed Tab not updating active bar with dynamic label, #1761
- Added
filter-change
event for Table, andcolumn-key
property for TableColumn, #1876
1.0.7
- 修复 DatePicker 在有值的情况下 hover 清空按钮时会错误地显示弹框
- 修复 DatePicker 设置默认值为 null 会错误地显示时间值
- 新增 Table 的
row-contextmenu
事件和max-height
属性,#1663 #1674 - 新增 MessageBox 的
customClass
属性,#1707 - 新增 Message 和 Notification 的
iconClass
和customClass
属性,#1671 - 新增 Table 支持 empty slot,#1737
- 改进 InputNumber change 事件增加 old value 的参数
- Fixed DatePicker dropdown appears when hovering on the clear button
- Fixed DatePicker displays a wrong date when its initial value is null
- Added
row-contextmenu
event andmax-height
attribute for Table, #1663 #1674 - Added
customClass
attribute for MessageBox, #1707 - Added
iconClass
andcustomClass
attributes for Message and Notification, #1671 - Added empty slot for Table, #1737
- Added old value as a second parameter in change event for InputNumber
1.0.6
- 新增 Tabs 组件的
disabled
属性,#1620 - 新增 DatePicker 的 input 支持
size
,#1440 - 修复 DatePicker 为
datetimerange
类型并设置初始值时,面板未显示正确日期的问题,#1129 - 修复 DatePicker 切换年份时显示异常的问题,#1607
- 修复 DatePicker 点击 icon 未触发 clickoutside 的问题,#1604
- 修复 TimePicker 点击清空按钮后再次点击不会更新初始值的问题,#1583
- 修复 Select 远程搜索且 value 为对象类型时的显示问题,#1593
- 修复 Select 为
disabled
时,clearable
仍然可以工作的问题,#1619 - 修复 自定义背景颜色的 Switch 在动态切换
disabled
时,背景颜色错误的问题,#1627 - 修复 Table 的一些样式问题
- Added
disabled
attribute for Tabs, #1620 - Added
size
attribute for DatePicker input, #1440 - Fixed
datetimerange
DatePicker's panel not showing correct date if initial value is present, #1129 - Fixed DatePicker display error when switching year, #1607
- Fixed DatePicker not triggering clickoutside when its icon is clicked, #1604
- Fixed TimePicker not refreshing value after clicking the clear button, #1583
- Fixed remote filterable Select display error when its value is an object, #1593
- Fixed Select's clear button still working bug when it's
disabled
, #1619 - Fixed Switch's background color error when its
disabled
attribute is dynamically changed, #1627 - Fixed some style bugs of Table