diff --git a/src/packages/__VUE/range/index.taro.vue b/src/packages/__VUE/range/index.taro.vue index 01e212f63f..c87bf6f942 100644 --- a/src/packages/__VUE/range/index.taro.vue +++ b/src/packages/__VUE/range/index.taro.vue @@ -272,7 +272,7 @@ export default create({ const format = (value: number) => { const { min, max, step } = props value = Math.max(+min, Math.min(value, +max)) - return Math.round(value / +step) * +step + return Math.round((value - +min) / +step) * +step + +min } const isSameValue = (newValue: SliderValue, oldValue: SliderValue) =>