Update slider.vue

This commit is contained in:
梁灏 2019-01-07 17:17:24 +08:00
parent 4a12cdd2d8
commit 69745a3c92

View file

@ -252,8 +252,14 @@
tipDisabled () { tipDisabled () {
return this.tipFormat(this.currentValue[0]) === null || this.showTip === 'never'; return this.tipFormat(this.currentValue[0]) === null || this.showTip === 'never';
}, },
valueRange(){ valueRange () {
return this.max - this.min; return this.max - this.min;
},
firstPosition () {
return this.currentValue[0];
},
secondPosition () {
return this.currentValue[1];
} }
}, },
methods: { methods: {