Revert "fix #5652"

This commit is contained in:
Aresn 2019-04-26 16:31:04 +08:00 committed by GitHub
parent 5b250f6e1c
commit 4b78039537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,15 +275,12 @@
this.focused = true;
this.$emit('on-focus', event);
},
blur (e) {
blur () {
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) {