Changelog: update for 1.3.7

pull/5471/head
Leopoldthecoder 2017-06-18 20:54:47 +08:00 committed by 杨奕
parent 7986126ab4
commit 3f7cf2dcc7
6 changed files with 27 additions and 2 deletions

View File

@ -1,5 +1,17 @@
## Changelog ## Changelog
### 1.3.7
*2017-06-18*
- Fixed Table with async data not showing summary row, #5318
- Fixed Pagination's jumper value not sync with current page, #5377
- Fixed DatePicker's shortcut panel overflow issue, #5297 (by @alashow)
- Fixed clicking Switch not responding when some text on the page is selected, #5411
- The red wildcard indicating required field of Form is now responsive, #5403
- Fixed initial-index of Carousel not working, #5334
- Fixed Popover enable to be focused when nested in a Dialog, #5336
### 1.3.6 ### 1.3.6
*2017-06-09* *2017-06-09*

View File

@ -1,5 +1,16 @@
## 更新日志 ## 更新日志
### 1.3.7
*2017-06-18*
- 修复异步加载数据的 Table 不显示合计行的问题,#5318
- 修复 Pagination 的输入框数值与当前页不同步的问题,#5377
- 修复 DatePicker 的 shortcut 面板过长时的溢出问题,#5297by @alashow
- 修复当页面上有被选中的文本时点击 Switch 无效的问题,#5411
- Form 中表示必填项的小红点现在可以动态更新了,#5403
- 修复 Carousel 的 initial-index 属性无效的问题,#5334
- 修复嵌套于 Dialog 中的 Popover 无法被 focus 的问题,#5336
### 1.3.6 ### 1.3.6
*2017-06-09* *2017-06-09*

View File

@ -204,6 +204,7 @@ Currently Element ships with the following languages:
<li>Latvian (lv)</li> <li>Latvian (lv)</li>
<li>Afrikaans (af-ZA)</li> <li>Afrikaans (af-ZA)</li>
<li>Estonian (ee)</li> <li>Estonian (ee)</li>
<li>Slovenian (sl)</li>
</ul> </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. 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

@ -216,6 +216,7 @@ ElementLocale.i18n(key => i18n.t(key))
<li>拉脱维亚语lv</li> <li>拉脱维亚语lv</li>
<li>南非荷兰语af-ZA</li> <li>南非荷兰语af-ZA</li>
<li>爱沙尼亚语ee</li> <li>爱沙尼亚语ee</li>
<li>斯洛文尼亚语sl</li>
</ul> </ul>
如果你需要使用其他的语言,欢迎贡献 PR只需在 [这里](https://github.com/ElemeFE/element/tree/master/src/locale/lang) 添加一个语言配置文件即可。 如果你需要使用其他的语言,欢迎贡献 PR只需在 [这里](https://github.com/ElemeFE/element/tree/master/src/locale/lang) 添加一个语言配置文件即可。

View File

@ -85,7 +85,7 @@
if (target.tagName === 'A') { if (target.tagName === 'A') {
if (hasClass(target.parentNode, 'disabled')) return; if (hasClass(target.parentNode, 'disabled')) return;
const year = target.textContent || target.innerText; const year = target.textContent || target.innerText;
this.$emit('pick', year); this.$emit('pick', Number(year));
} }
} }
} }

View File

@ -28,7 +28,7 @@ describe('Dialog', () => {
expect(dialog.$el.style.display).to.not.equal('none'); expect(dialog.$el.style.display).to.not.equal('none');
done(); done();
}, 10); }, 10);
}); }).timeout(3000);
it('render correct content', done => { it('render correct content', done => {
vm = createVue({ vm = createVue({