Merge pull request #385 from QingWei-Li/fix/date-picker

DatePicker: fix blur event
pull/389/head
杨奕 2016-10-13 14:05:09 +08:00 committed by GitHub
commit 2f41d86d2e
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');
}, },