Commit b27695189ff0111b9caa209890fd74ed99cf2d24

Authored by Aresn
Committed by GitHub
2 parents ae02246a 78f16ed4

Merge pull request #4746 from lllllxt/2.0

修复<Silder> BUG
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/slider/slider.vue
@@ -379,7 +379,7 @@ @@ -379,7 +379,7 @@
379 }, 379 },
380 380
381 handleInputChange (val) { 381 handleInputChange (val) {
382 - this.currentValue = [val, this.currentValue[1]]; 382 + this.currentValue = [val || this.min, this.currentValue[1]];
383 this.emitChange(); 383 this.emitChange();
384 }, 384 },
385 385