From 78f16ed43a9cf319d3bbd88d4219f498b24f853d Mon Sep 17 00:00:00 2001 From: 刘晓堂 <532543299@qq.com> Date: Wed, 31 Oct 2018 14:09:04 +0800 Subject: [PATCH] 修复 BUG --- src/components/slider/slider.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/slider/slider.vue b/src/components/slider/slider.vue index 9fc1321..b441671 100644 --- a/src/components/slider/slider.vue +++ b/src/components/slider/slider.vue @@ -379,7 +379,7 @@ }, handleInputChange (val) { - this.currentValue = [val, this.currentValue[1]]; + this.currentValue = [val || this.min, this.currentValue[1]]; this.emitChange(); }, -- libgit2 0.21.4