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