diff --git a/src/components/slider/Slider.vue b/src/components/slider/Slider.vue index b9783ef93..bcfd77187 100644 --- a/src/components/slider/Slider.vue +++ b/src/components/slider/Slider.vue @@ -307,13 +307,13 @@ export default { rangeStartHandleStyle() { if (this.horizontal) return {'left': this.rangeStartPosition + '%'}; - else if (this.vertical) + else return {'bottom': this.rangeStartPosition + '%'}; }, rangeEndHandleStyle() { if (this.horizontal) return {'left': this.rangeEndPosition + '%'}; - else if (this.vertical) + else return {'bottom': this.rangeEndPosition + '%'}; }, }