diff --git a/src/components/slider/slider.vue b/src/components/slider/slider.vue index 8ae180a..14770a9 100644 --- a/src/components/slider/slider.vue +++ b/src/components/slider/slider.vue @@ -252,8 +252,14 @@ tipDisabled () { return this.tipFormat(this.currentValue[0]) === null || this.showTip === 'never'; }, - valueRange(){ + valueRange () { return this.max - this.min; + }, + firstPosition () { + return this.currentValue[0]; + }, + secondPosition () { + return this.currentValue[1]; } }, methods: { -- libgit2 0.21.4