github ElemeFE/element v1.1.0
1.1.0 Helium

latest releases: v2.15.14, v2.15.13, v2.15.12...
7 years ago

新特性:

  • 新增 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,用于实现自定义标签内容

修复:

  • DatePicker 的 change 事件错误地触发多次的问题,#2070
  • Tabs 组件内 tab-pane 初始化时宽度抖动的问题,#1883

非兼容性更新:

  • 最低兼容 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 named label

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 to inline-block
  • The box model of Tabs is updated from inline-block to block, and Tab-Pane's label-content attribute is removed
  • The dropdown of Autocomplete now inserts directly to <body>, not <el-autocomplete> any more

Don't miss a new element release

NewReleases is sending notifications on new releases.