Changelog: update for 1.3.5

pull/4235/merge
Leopoldthecoder 2017-06-03 20:55:17 +08:00 committed by 杨奕
parent 891bda0c57
commit 610b3552b6
5 changed files with 32 additions and 1 deletions

View File

@ -1,5 +1,19 @@
## Changelog
### 1.3.5
*2017-06-03*
- Fixed `default-first-option` of Select not working in remote filtering, #5084
- Fixed InputNumber not aligning with other form components, #5127
- Fixed inline FormItem having no effect on mixed Input, #5151
- Fixed height of FormItem being different in Firefox from other browsers, #5152
- Fixed items with a `value` of 0 in Cascader can not be expanded, #5172 (by @Kingwl)
- Fixed Autocomplete not triggering native `keydown` and `keyup` events, #5129
- Added `clear` event for Select, #5112
- Fixed Cascader's dropdown menu not updating its position in some situations, #5064
- Better accessibility for Dialog and MessageBox, #4786
### 1.3.4
*2017-05-23*

View File

@ -1,5 +1,18 @@
## 更新日志
### 1.3.5
*2017-06-03*
- 修复 Select 的 `default-first-option` 属性在远程搜索时不生效的问题,#5084
- 修复 InputNumber 与其他表单组件同行显示时不能对齐的问题,#5127
- 修复行内 FormItem 对复合型 Input 失效的问题,#5151
- 修复 FormItem 在 Firefox 中的高度与其他浏览器不一致的问题,#5152
- 修复 Cascader 中 `value` 为 0 的数据不能展开下一级的问题,#5172by @Kingwl
- 修复 Autocomplete 无法触发原生 `keydown``keyup` 事件的问题,#5129
- 新增 Select 的 `clear` 事件,#5112
- 修复 Cascader 在某些情况下下拉框的位置没有及时更新的问题,#5064
- 提升 Dialog 和 MessageBox 的可访问性,#4786
### 1.3.4
*2017-05-23*

View File

@ -200,6 +200,8 @@ Currently Element ships with the following languages:
<li>Czech (cz)</li>
<li>Ukrainian (ua)</li>
<li>Turkmen (tk)</li>
<li>Tamil (ta)</li>
<li>Latvian (lv)</li>
</ul>
If your target language is not included, you are more than welcome to contribute: just add another language config [here](https://github.com/ElemeFE/element/tree/master/src/locale/lang) and create a pull request.

View File

@ -212,6 +212,8 @@ ElementLocale.i18n(key => i18n.t(key))
<li>捷克语cz</li>
<li>乌克兰语ua</li>
<li>土库曼语tk</li>
<li>泰米尔语ta</li>
<li>拉脱维亚语lv</li>
</ul>
如果你需要使用其他的语言,欢迎贡献 PR只需在 [这里](https://github.com/ElemeFE/element/tree/master/src/locale/lang) 添加一个语言配置文件即可。

View File

@ -94,7 +94,7 @@
},
created() {
if (!~[this.onValue, this.offValue].indexOf(this.value)) {
this.$emit('input', this.onValue);
this.$emit('input', this.offValue);
}
},
computed: {