-
Notifications
You must be signed in to change notification settings - Fork 14.6k
ChangeLog 2.0.0 rc.1
杨奕 edited this page Oct 26, 2017
·
3 revisions
- 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 的一致性
- 将
- 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
- Table
- Fixed a dynamic
max-heightbug - Fixed some style calculation errors
- Fixed a dynamic
- 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 rendering -
expandevent is renamed toexpand-change - The params of
row-class-nameandrow-stylemethod is now an object
-