Commit a21f78ea authored by 杨奕's avatar 杨奕 Committed by GitHub

Changelog: update for 2.2.1 (#9975)

parent b54ed0a6
## Changelog ## Changelog
### 2.2.1
*2018-03-02*
- Fixed Aside, Header and Footer shrinking in some layout, #9812
- Fixed Table with a `height` attribute not rendering in SSR, #9876
- Fixed expandable Table not calculating its height when a row is expanded, #9848
- Fixed `change` event not trigger when manually typing date in DateTimePicker, #9913
- Fixed Select showing its options when the input box is right-clicked, #9894 (by @openks)
- Added `tooltip-class` attribute for Slider, #9957
- Now Select will stay focused after selection, #9857 (by @Seebiscuit)
- Added `target-order` attribute for Transfer, #9960
### 2.2.0 Graphite ### 2.2.0 Graphite
*2018-02-12* *2018-02-12*
......
## Changelog ## Changelog
### 2.2.1
*2018-03-02*
- Fixed Aside, Header and Footer shrinking in some layout, #9812
- Fixed Table with a `height` attribute not rendering in SSR, #9876
- Fixed expandable Table not calculating its height when a row is expanded, #9848
- Fixed `change` event not trigger when manually typing date in DateTimePicker, #9913
- Fixed Select showing its options when the input box is right-clicked, #9894 (by @openks)
- Added `tooltip-class` attribute for Slider, #9957
- Now Select will stay focused after selection, #9857 (by @Seebiscuit)
- Added `target-order` attribute for Transfer, #9960
### 2.2.0 Graphite ### 2.2.0 Graphite
*2018-02-12* *2018-02-12*
......
## 更新日志 ## 更新日志
### 2.2.1
*2018-03-02*
- 修复 Aside、Header 和 Footer 在某些布局中被压缩的问题,#9812
- 修复设置了 `height` 属性的 Table 在服务端渲染时无法加载的问题,#9876
- 修复可展开的 Table 在展开某一行后高度未重新计算的问题,#9848
- 修复在 DateTimePicker 中手动输入日期后不能正确触发 `change` 事件的问题,#9913
- 修复鼠标右键点击 Select 的输入框会展开选项的问题,#9894(by @openks)
- 新增 Slider 的 `tooltip-class` 属性,#9957
- 现在的 Select 在选中选项后仍然处于 focus 状态,#9857(by @Seebiscuit)
- 新增 Transfer 的 `target-order` 属性,#9960
### 2.2.0 Graphite ### 2.2.0 Graphite
*2018-02-12* *2018-02-12*
......
...@@ -8,14 +8,6 @@ We provide a general [project template](https://github.com/ElementUI/element-sta ...@@ -8,14 +8,6 @@ We provide a general [project template](https://github.com/ElementUI/element-sta
If you prefer not to use them, please read the following. If you prefer not to use them, please read the following.
### Use Nuxt.js
We can also start a project using [Nuxt.js](nuxtjs.org):
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
<iframe src="https://glitch.com/embed/#!/embed/nuxt-with-element-ui?path=nuxt.config.js&previewSize=0&attributionHidden=true" alt="nuxt-with-element-ui on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>
### Import Element ### Import Element
You can import Element entirely, or just import what you need. Let's start with fully import. You can import Element entirely, or just import what you need. Let's start with fully import.
...@@ -274,3 +266,11 @@ npm run build ...@@ -274,3 +266,11 @@ npm run build
``` ```
Please refer to each component's documentation to learn how to use them. Please refer to each component's documentation to learn how to use them.
### Use Nuxt.js
We can also start a project using [Nuxt.js](nuxtjs.org):
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
<iframe src="https://glitch.com/embed/#!/embed/nuxt-with-element-ui?path=nuxt.config.js&previewSize=0&attributionHidden=true" alt="nuxt-with-element-ui on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>
...@@ -8,14 +8,6 @@ Proveemos una plantilla general [project template](https://github.com/ElementUI/ ...@@ -8,14 +8,6 @@ Proveemos una plantilla general [project template](https://github.com/ElementUI/
Si prefiere no utilizarlas, lee las siguientes secciones de este documento. Si prefiere no utilizarlas, lee las siguientes secciones de este documento.
### Use Nuxt.js
We can also start a project using [Nuxt.js](nuxtjs.org):
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
<iframe src="https://glitch.com/embed/#!/embed/nuxt-with-element-ui?path=nuxt.config.js&previewSize=0&attributionHidden=true" alt="nuxt-with-element-ui on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>
### Importando Element ### Importando Element
Puede importar Element completamente o solamente importar lo que necesite. Comencemos importando todo. Puede importar Element completamente o solamente importar lo que necesite. Comencemos importando todo.
...@@ -273,3 +265,11 @@ npm run build ...@@ -273,3 +265,11 @@ npm run build
``` ```
Por favor, refiérase a la documentación de cada componente para aprender cómo usarlos. Por favor, refiérase a la documentación de cada componente para aprender cómo usarlos.
### Use Nuxt.js
We can also start a project using [Nuxt.js](nuxtjs.org):
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
<iframe src="https://glitch.com/embed/#!/embed/nuxt-with-element-ui?path=nuxt.config.js&previewSize=0&attributionHidden=true" alt="nuxt-with-element-ui on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>
...@@ -8,15 +8,6 @@ ...@@ -8,15 +8,6 @@
如果不希望使用我们提供的模板,请继续阅读。 如果不希望使用我们提供的模板,请继续阅读。
### 使用 Nuxt.js
我们还可以使用 [Nuxt.js](https://nuxtjs.org)
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
<iframe src="https://glitch.com/embed/#!/embed/nuxt-with-element-ui?path=nuxt.config.js&previewSize=0&attributionHidden=true" alt="nuxt-with-element-ui on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>
### 引入 Element ### 引入 Element
你可以引入整个 Element,或是根据需要仅引入部分组件。我们先介绍如何引入完整的 Element。 你可以引入整个 Element,或是根据需要仅引入部分组件。我们先介绍如何引入完整的 Element。
...@@ -275,3 +266,12 @@ npm run build ...@@ -275,3 +266,12 @@ npm run build
``` ```
各个组件的使用方法请参阅它们各自的文档。 各个组件的使用方法请参阅它们各自的文档。
### 使用 Nuxt.js
我们还可以使用 [Nuxt.js](https://nuxtjs.org)
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
<iframe src="https://glitch.com/embed/#!/embed/nuxt-with-element-ui?path=nuxt.config.js&previewSize=0&attributionHidden=true" alt="nuxt-with-element-ui on glitch" style="height: 100%; width: 100%; border: 0;"></iframe>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment