mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Page:
ChangeLog 2.0.0 rc.1
Pages
ChangeLog 2.0.0 alpha.1
ChangeLog 2.0.0 alpha.2
ChangeLog 2.0.0 alpha.3
ChangeLog 2.0.0 beta.1
ChangeLog 2.0.0 rc.1
ChangeLog 2.0.0
ChangeLog 2.0.1
ChangeLog 2.0.10
ChangeLog 2.0.11
ChangeLog 2.0.2
ChangeLog 2.0.3
ChangeLog 2.0.4
ChangeLog 2.0.5
ChangeLog 2.0.6
ChangeLog 2.0.8
ChangeLog 2.0.9
ChangeLog 2.1.0
ChangeLog 2.2.0
ChangeLog 2.2.1
ChangeLog 2.2.2
ChangeLog 2.3.0
ChangeLog 2.3.1
ChangeLog 2.3.3
ChangeLog 2.3.4
ChangeLog 2.3.5
ChangeLog 2.3.6
ChangeLog 2.3.7
ChangeLog 2.3.8
ChangeLog 2.3.9
ChangeLog 2.4.0
ChangeLog 2.4.1
ChangeLog 2.4.10
ChangeLog 2.4.2
ChangeLog 2.4.3
ChangeLog 2.4.4
ChangeLog 2.4.5
ChangeLog 2.4.6
ChangeLog 2.4.7
ChangeLog 2.4.8
ChangeLog 2.4.9
Home
Clone
3
ChangeLog 2.0.0 rc.1
杨奕 edited this page 2017-10-25 21:04:46 -05:00
Table of Contents
新特性
- Form
- 新增
clearValidate方法,用于清空所有表单项的验证信息,#7623
- 新增
- MessageBox
- 新增
inputType属性,用户指定内部输入框的类型,#7651
- 新增
- Table
- 新增
size属性,用于控制表格尺寸 - 新增
toggleRowExpansion方法,用于手动展开或关闭行 - 新增
cell-class-name属性,用于指定单元格的类名 - 新增
cell-style属性,用于指定单元格的样式 - 新增
header-row-class-name属性,用于指定表头行的类名 - 新增
header-row-style属性,用于指定表头行的样式 - 新增
header-cell-class-name属性,用于指定表头单元格的类名 - 新增
header-cell-style属性,用于指定表头单元格的样式 - TableColumn 的
prop属性支持object[key]格式 - TableColumn 新增
index属性,用于自定义索引值
- 新增
修复
- Table
- 修复
max-height变更后无法恢复的问题 - 修复一些样式上的计算错误
- 修复
非兼容性更新
- Autocomplete
- 移除
props属性,现在使用value-key属性指定输入建议对象中用于显示的键名
- 移除
- Table
- 将
appendslot 移至tbody元素以外,以保证其只被渲染一次 expand事件更名为expand-change,以保证 API 的命名一致性row-class-name和row-style的函数参数改为对象,以保证 API 的一致性
- 将
New features
- Form
- Added
clearValidatemethod for clearing validating results for all form items, #7623
- Added
- MessageBox
- Added
inputTypeattribute to assign type for the inner input box, #7651
- Added
- Table
- Added
sizeattribute - Added
toggleRowExpansionmethod to expand or collapse expandable rows programmatically - Added
cell-class-nameattribute to assign class name for cells - Added
cell-styleattribute to style cells - Added
header-row-class-nameattribute to assign class name for header rows - Added
header-row-styleattribute to style header rows - Added
header-cell-class-nameattribute to assign class name for header cells - Added
header-cell-styleattribute to style header cells - TableColumn's
propattribute now acceptsobject[key]notations - Added
indexattribute for TableColumn to customize row indices
- Added
Fixes
- Table
- Fixed a dynamic
max-heightbug - Fixed some style calculation errors
- Fixed a dynamic
Breaking changes
- Autocomplete
- Removed
propsattribute. Now you can usevalue-keyattribute to designate key name of the input suggestion object for display
- Removed
- Table
appendslot is moved outside thetbodyelement to avoid multiple renderingexpandevent is renamed toexpand-change- The params of
row-class-nameandrow-stylemethod is now an object