Commit 1ebc260378b1c9a423b60b0ae4ec397046dab046
Committed by
GitHub
Merge pull request #5710 from iview/revert-5658-bug_#5652
Revert "fix #5652"
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
src/components/input-number/input-number.vue
| @@ -275,15 +275,12 @@ | @@ -275,15 +275,12 @@ | ||
| 275 | this.focused = true; | 275 | this.focused = true; |
| 276 | this.$emit('on-focus', event); | 276 | this.$emit('on-focus', event); |
| 277 | }, | 277 | }, |
| 278 | - blur (e) { | 278 | + blur () { |
| 279 | this.focused = false; | 279 | this.focused = false; |
| 280 | this.$emit('on-blur'); | 280 | this.$emit('on-blur'); |
| 281 | if (!findComponentUpward(this, ['DatePicker', 'TimePicker', 'Cascader', 'Search'])) { | 281 | if (!findComponentUpward(this, ['DatePicker', 'TimePicker', 'Cascader', 'Search'])) { |
| 282 | this.dispatch('FormItem', 'on-form-blur', this.currentValue); | 282 | this.dispatch('FormItem', 'on-form-blur', this.currentValue); |
| 283 | } | 283 | } |
| 284 | - if (!this.activeChange) { | ||
| 285 | - this.change(e); | ||
| 286 | - } | ||
| 287 | }, | 284 | }, |
| 288 | keyDown (e) { | 285 | keyDown (e) { |
| 289 | if (e.keyCode === 38) { | 286 | if (e.keyCode === 38) { |