v2.10.0
版本发布时间: 2019-06-26 10:48:10
ElemeFE/element最新发布版本:v2.15.14(2023-08-24 21:58:42)
New features
- I18n
- Added Uzbek language (#15796 by @ogabek96)
- Calendar
- Add first-day-of-week attribute (#16047 by @ziyoung)
- Avatar
- Add avatar component (#16144 by @luckyCao)
- Upload:
- Add capability to customize thumbnail template (#13192 by @victorzhuk)
Bug fixes
- Tree
- Not highlight tree node when currentKey is null (#15668 by @yyjjqq94)
- Fix issue #15538 caused by two Tree sharing the same data (#15615 by @VanMess)
- Upload
- Update the parameter
fileList
type (#15716 by @underfin)
- Update the parameter
- Table
- Fix loading icon not display (#15868 by @ziyoung)
- Fix background color of complex table when hovering (#15504 by @cnlon)
- Fix current-row-key and select event bug (#15983 by @ziyoung)
- Height accepts more units (#16013 by @ziyoung)
- Fix reserve-selection not work (#16135 by @ziyoung)
- Docs
- Fix Divider attribute type in zh-cn (#15889 by @haoranyu)
- Menu
- Fixed submenu hidden bug after adding popper-append-to-body (#15391 by @PanJiaChen)
- Select
- Fix initialInputHeight (#15989 by @yyjjqq94)
- Fix default-first-option behavior when typing Chinese (#15431 by @VanMess)
- fix double import problem (#16215 by @lengband)
- Message
- Add type def for offset option (#16027 by @matjaz)
- Timeline
- Fix reverse broken (#16091 by @ziyoung)
- Slider
- Fix #15545 by adding explains about "input" event in Chinese (#15588 by @VanMess)
- InfiniteScroll
- Update package name (#16125 by @iamkun)
- MessageBox
- Fix distinguishCancelAndClose action not same as docs bug (#15438 by @qingdengyue)
- PopupManager
- Fix z-index cannot be rewritten at first using (#15738 by @luckyCao)
- Docs
- Delete an incorrect closing html tag and empty block code (#16194 by @Alexeykhr)
- Chore
- Update test api host (#15807 by @iamkun)
Optimization
- Tree
- Modify loop conditions to improve performance (#15699 by @KingJeason)
- Theme
- Refine GA track & Update footer link forward to online theme roller (#16007 by @island205)
- Badge
- Update badge prop check (#16198 by @iamkun)
- Avatar
- Update theme config var (#16202 by @luckyCao)
- I18n
- Update pt-br.js (#15776 by @gigioSouza)
- Update Farsi translation (#15881 by @pamenary)
- Docs
- Add missing components in quickstart (#16063 by @pape2016)
- Update french translation (#16208 by @blombard)
- Add description $slots.default (#15444 by @Alexeykhr)
- Update Spanish Doc 2.9.1 (#15840 by @Gonzalo2310)
- Fix spelling mistakes in fr (#15837 by @blombard)
- Update changelog 2.9.2 Spanish (#16185 by @Gonzalo2310)
Breaking changes
- Form
- Remove success status (#16159 by @ziyoung)
新特性
- I18n
- 支持乌兹别克语 (#15796 by @ogabek96)
- Calendar
- 支持
first-day-of-week
配置 (#16047 by @ziyoung)
- 支持
- Avatar
- 新增
Avatar
组件 (#16144 by @luckyCao)
- 新增
- Upload:
- 支持自定义缩略图模版 (#13192 by @victorzhuk)
Bug 修复
- Tree
- 当
currentKey
为null
时取消对树节点的高亮 (#15668 by @yyjjqq94) - 修复多实例共享数据的问题 #15538 (#15615 by @VanMess)
- 当
- Upload
- 更新
fileList
的类型定义 (#15716 by @underfin)
- 更新
- Table
- 修复加载 icon 不显示的问题 (#15868 by @ziyoung)
- 修复复杂表格中 hover 行背景色问题 (#15504 by @cnlon)
- 修复
current-row-key
和选择事件的问题 (#15983 by @ziyoung) -
height
属性接受更多单位 (#16013 by @ziyoung) - 修复
reserve-selection
无效的问题 (#16135 by @ziyoung)
- Menu
- 修复
popper-append-to-body
设置后,子菜单无法收起的问题 (#15391 by @PanJiaChen)
- 修复
- Select
- 修复
initialInputHeight
问题 (#15989 by @yyjjqq94) - 修复输入中文时
default-first-option
的行为问题 (#15431 by @VanMess) -
import
重复 (#16215 by @lengband)
- 修复
- Message
- 类型定义中添加
offset
属性 (#16027 by @matjaz)
- 类型定义中添加
- Timeline
- 修复逆序问题 (#16091 by @ziyoung)
- Slider
- 补充
input
事件文档 (#15588 by @VanMess)
- 补充
- InfiniteScroll
- 更新包名 (#16125 by @iamkun)
- MessageBox
- 修复
distinguishCancelAndClose
行为与文档不符的问题 (#15438 by @qingdengyue)
- 修复
- PopupManager
- 修复无法复写
z-index
的问题 (#15738 by @luckyCao)
- 修复无法复写
- Docs
- 删除不必要的内容 (#16194 by @Alexeykhr)
- 更正
Divider
属性类型 (#15889 by @haoranyu)
- Chore
- 更新测试 API 地址 (#15807 by @iamkun)
优化
- Tree -优化循环性能 (#15699 by @KingJeason)
- Theme
- 更新 GA 打点,修改页底地址链接到主题编辑器 (#16007 by @island205)
- Badge
- 更新类型定义 (#16198 by @iamkun)
- Avatar
- 更新主题变量配置 (#16202 by @luckyCao)
- I18n
- 更新葡萄牙语 (#15776 by @gigioSouza)
- 更新波斯语 (#15881 by @pamenary)
- Docs
- 补充入门文档中的组件列表 (#16063 by @pape2016)
- 更新法语文档 (#16208 by @blombard)
- 为
Alert
添加 默认插槽文档 (#15444 by @Alexeykhr) - 更新西班牙语文档 (#15840 by @Gonzalo2310)
- 更新法语文档中的拼写错误 (#15837 by @blombard)
- 更新 2.9.2 西班牙文档 (#16185 by @Gonzalo2310)
非兼容性更新
- Form
- 移除输入框的成功状态 (#16159 by @ziyoung)