Commit 997a85269f078e73064fdd8e5c5eb9fb668b5e18

Authored by Aresn
Committed by GitHub
2 parents dde57741 ef1465af

Merge pull request #5584 from susiwen8/fix#5577

Fix #5577 Slider change event duplication error
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/input-number/input-number.vue
@@ -292,6 +292,7 @@ @@ -292,6 +292,7 @@
292 } 292 }
293 }, 293 },
294 change (event) { 294 change (event) {
  295 + if (event.type == 'change') return;
295 296
296 if (event.type == 'input' && !this.activeChange) return; 297 if (event.type == 'input' && !this.activeChange) return;
297 let val = event.target.value.trim(); 298 let val = event.target.value.trim();