{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/1942","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/1942/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/1942/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/1942/events","html_url":"https://github.com/ElemeFE/element/issues/1942","id":197196083,"number":1942,"title":"Element 1.1.0 版本预览","user":{"login":"Leopoldthecoder","id":10095631,"avatar_url":"https://avatars.githubusercontent.com/u/10095631?v=3","gravatar_id":"","url":"https://api.github.com/users/Leopoldthecoder","html_url":"https://github.com/Leopoldthecoder","followers_url":"https://api.github.com/users/Leopoldthecoder/followers","following_url":"https://api.github.com/users/Leopoldthecoder/following{/other_user}","gists_url":"https://api.github.com/users/Leopoldthecoder/gists{/gist_id}","starred_url":"https://api.github.com/users/Leopoldthecoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leopoldthecoder/subscriptions","organizations_url":"https://api.github.com/users/Leopoldthecoder/orgs","repos_url":"https://api.github.com/users/Leopoldthecoder/repos","events_url":"https://api.github.com/users/Leopoldthecoder/events{/privacy}","received_events_url":"https://api.github.com/users/Leopoldthecoder/received_events","type":"User","site_admin":false},"labels":[{"id":435935242,"url":"https://api.github.com/repos/ElemeFE/element/labels/discussion","name":"discussion","color":"5319e7","default":false},{"id":505540979,"url":"https://api.github.com/repos/ElemeFE/element/labels/official","name":"official","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-22T15:15:26Z","updated_at":"2016-12-27T06:12:45Z","closed_at":null,"body":"经过一段时间的紧张开发，Element 1.1.0 版本将于近期发布。今天，我们特别为大家带来 1.1.0 的版本预览。\r\n\r\n> 以下内容仍可能发生变动，请以正式发布的 1.1.0 为准。\r\n\r\n## 新组件\r\n作为 Element 正式发布以来的第一个 minor 版本，1.1.0 包含了一些新的组件：\r\n\r\n- 折叠面板 Collapse\r\n![image](https://cloud.githubusercontent.com/assets/10095631/21427706/12e62b80-c891-11e6-85e9-2c53d2cd8fee.png)\r\n\r\n- 走马灯 Carousel\r\n![image](https://cloud.githubusercontent.com/assets/10095631/21428672/3c76051a-c896-11e6-8ece-4e4e54fb123f.png)\r\n\r\n此外，原有组件的滚动条也将得到美化。\r\n\r\n\r\n## 新特性\r\n- 表格 Table\r\nVue 的 2.1.0 版本加入了 [scoped slots](https://vuejs.org/v2/guide/components.html#Scoped-Slots) 功能，我们基于它实现了新的自定义列模板的方式：\r\n```html\r\n<el-table-column\r\n  fixed=\"right\"\r\n  label=\"操作\"\r\n  width=\"100\">\r\n  <template scope=\"scope\">\r\n    <el-button\r\n      size=\"small\"\r\n      @click=\"handleEdit(scope.$index, scope.row)\">编辑</el-button>\r\n    <el-button\r\n      size=\"small\"\r\n      type=\"danger\"\r\n      @click=\"handleDelete(scope.$index, scope.row)\">删除</el-button>\r\n  </template>\r\n</el-table-column>\r\n```\r\n同时，新的 Table 仍然能够兼容现在的写法。\r\n\r\n- SSR\r\n1.1.0 版本将支持 SSR，届时推荐使用 [nuxt](https://github.com/nuxt/nuxt.js) 体验。\r\n\r\n## 兼容性\r\n- 从 1.1.0 开始，Element 将只兼容 Vue 2.1.6 及以上版本。在升级前，请确保 Vue 的版本能够达到这个要求。\r\n- 在正式发布 1.1.0 之前，我们还将发布至少一个 1.0.x 版本。\r\n- 在 1.1.0 正式发布后，官方网站将保留最后一个 1.0.x 版本的文档，以供未升级的用户查阅。\r\n\r\n最后，提前祝各位圣诞愉快！🎄"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element/issues/comments/269275488","html_url":"https://github.com/ElemeFE/element/issues/1942#issuecomment-269275488","issue_url":"https://api.github.com/repos/ElemeFE/element/issues/1942","id":269275488,"user":{"login":"yuchonghua","id":17898715,"avatar_url":"https://avatars.githubusercontent.com/u/17898715?v=3","gravatar_id":"","url":"https://api.github.com/users/yuchonghua","html_url":"https://github.com/yuchonghua","followers_url":"https://api.github.com/users/yuchonghua/followers","following_url":"https://api.github.com/users/yuchonghua/following{/other_user}","gists_url":"https://api.github.com/users/yuchonghua/gists{/gist_id}","starred_url":"https://api.github.com/users/yuchonghua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuchonghua/subscriptions","organizations_url":"https://api.github.com/users/yuchonghua/orgs","repos_url":"https://api.github.com/users/yuchonghua/repos","events_url":"https://api.github.com/users/yuchonghua/events{/privacy}","received_events_url":"https://api.github.com/users/yuchonghua/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T06:12:45Z","updated_at":"2016-12-27T06:12:45Z","body":"那大概什么时候发布呢?"}}
{"actor":{"display_login":"yuchonghua"}}