commit
db2e2fd3e2
1 changed files with 4 additions and 1 deletions
|
@ -275,12 +275,15 @@
|
|||
this.focused = true;
|
||||
this.$emit('on-focus', event);
|
||||
},
|
||||
blur () {
|
||||
blur (e) {
|
||||
this.focused = false;
|
||||
this.$emit('on-blur');
|
||||
if (!findComponentUpward(this, ['DatePicker', 'TimePicker', 'Cascader', 'Search'])) {
|
||||
this.dispatch('FormItem', 'on-form-blur', this.currentValue);
|
||||
}
|
||||
if (!this.activeChange) {
|
||||
this.change(e);
|
||||
}
|
||||
},
|
||||
keyDown (e) {
|
||||
if (e.keyCode === 38) {
|
||||
|
|
Loading…
Add table
Reference in a new issue