Commit a636cbbaee8d5b38e5dd14c14f38578be4596835
Committed by
GitHub
Merge pull request #5646 from susiwen8/#5645
Fix #5645
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/input-number/input-number.vue
@@ -292,7 +292,7 @@ | @@ -292,7 +292,7 @@ | ||
292 | } | 292 | } |
293 | }, | 293 | }, |
294 | change (event) { | 294 | change (event) { |
295 | - if (event.type == 'change') return; | 295 | + if (event.type == 'change' && this.activeChange) return; |
296 | 296 | ||
297 | if (event.type == 'input' && !this.activeChange) return; | 297 | if (event.type == 'input' && !this.activeChange) return; |
298 | let val = event.target.value.trim(); | 298 | let val = event.target.value.trim(); |