Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element 1.1.0 版本预览 #1942

Closed
Leopoldthecoder opened this issue Dec 22, 2016 · 14 comments
Closed

Element 1.1.0 版本预览 #1942

Leopoldthecoder opened this issue Dec 22, 2016 · 14 comments

Comments

@Leopoldthecoder
Copy link
Contributor

经过一段时间的紧张开发,Element 1.1.0 版本将于近期发布。今天,我们特别为大家带来 1.1.0 的版本预览。

以下内容仍可能发生变动,请以正式发布的 1.1.0 为准。

新组件

作为 Element 正式发布以来的第一个 minor 版本,1.1.0 包含了一些新的组件:

  • 折叠面板 Collapse
    image

  • 走马灯 Carousel
    image

此外,原有组件的滚动条也将得到美化。

新特性

  • 表格 Table
    Vue 的 2.1.0 版本加入了 scoped slots 功能,我们基于它实现了新的自定义列模板的方式:
<el-table-column
  fixed="right"
  label="操作"
  width="100">
  <template scope="scope">
    <el-button
      size="small"
      @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
    <el-button
      size="small"
      type="danger"
      @click="handleDelete(scope.$index, scope.row)">删除</el-button>
  </template>
</el-table-column>

同时,新的 Table 仍然能够兼容现在的写法。

  • SSR
    1.1.0 版本将支持 SSR,届时推荐使用 nuxt 体验。

兼容性

  • 从 1.1.0 开始,Element 将只兼容 Vue 2.1.6 及以上版本。在升级前,请确保 Vue 的版本能够达到这个要求。
  • 在正式发布 1.1.0 之前,我们还将发布至少一个 1.0.x 版本。
  • 在 1.1.0 正式发布后,官方网站将保留最后一个 1.0.x 版本的文档,以供未升级的用户查阅。

最后,提前祝各位圣诞愉快!🎄

@Kingwl
Copy link
Contributor

Kingwl commented Dec 22, 2016

兹磁

@kopheece
Copy link

期待

@jackywang615
Copy link

最期待的还是table的新特性

@hellinnocence
Copy link

什么时候优化数字验证的问题?

@yuchonghua
Copy link
Contributor

yuchonghua commented Dec 24, 2016

@kopheece
Copy link

昨晚还试用了下 1.1版本 今天早上就进不去了

@yuchonghua
Copy link
Contributor

那大概什么时候发布呢?

@Leopoldthecoder
Copy link
Contributor Author

@yuchonghua 计划本周

@wangjiamr
Copy link

坐等发布

@dengdan99
Copy link

6666666666

@yuchonghua
Copy link
Contributor

@Leopoldthecoder 1.1.0好像对支持ssr不是很好,在nuxt.js测试了,有问题
很多组件渲染后没有样式,到了客户端,有些按钮需要点击两下才恢复正常
这个有什么解决方案指导一下吗

@HadiChen
Copy link

遇到了楼上同样的问题
ssr不能正常渲染样式

@Ethennoob
Copy link

我也遇到了ssr问题

@github851123278
Copy link

@Leopoldthecoder 我使用 nuxt 了好像也不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests