DatePicker: fix blur event

pull/385/head
qingwei.li 2016-10-13 14:03:58 +08:00
parent 9c71e58c15
commit f0a963c11a
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
- 修复 Tree 组件 checkbox 点击失效的问题 - 修复 Tree 组件 checkbox 点击失效的问题
- Breadcrumb 增加路由跳转的功能 - Breadcrumb 增加路由跳转的功能
- 修复 可清空的 Select 中清空按钮的不恰当动画 - 修复 可清空的 Select 中清空按钮的不恰当动画
- DatePicker 修复使用 Tab 键切换时弹出框未隐藏
### 1.0.0-rc.6 ### 1.0.0-rc.6

View File

@ -312,6 +312,7 @@ export default {
}, },
handleBlur() { handleBlur() {
this.pickerVisible = false;
this.$emit('blur', this); this.$emit('blur', this);
this.dispatch('form-item', 'el.form.blur'); this.dispatch('form-item', 'el.form.blur');
}, },