提交 bdc5b05c 编写于 作者: fxy060608's avatar fxy060608

chore: revert

上级 749ddb6a
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -197,7 +197,7 @@ function useSliderLoader(
? min
: e > max
? max
: computeController.mul.call(null.round((e - min) / step), step) + min
: computeController.mul.call(Math.round((e - min) / step), step) + min
}
const _onUserChangedValue = (e: MouseEvent) => {
......
......@@ -5627,7 +5627,7 @@ function useSliderLoader(props2, sliderValue, sliderRef, sliderValueRef, trigger
const max = Number(props2.max);
const min = Number(props2.min);
const step = Number(props2.step);
return e2 < min ? min : e2 > max ? max : computeController.mul.call(null.round((e2 - min) / step), step) + min;
return e2 < min ? min : e2 > max ? max : computeController.mul.call(Math.round((e2 - min) / step), step) + min;
};
const _onUserChangedValue = (e2) => {
const max = Number(props2.max);
......
......@@ -12303,7 +12303,7 @@ function useSliderLoader(props2, sliderValue, sliderRef, sliderValueRef, trigger
const max = Number(props2.max);
const min = Number(props2.min);
const step = Number(props2.step);
return e2 < min ? min : e2 > max ? max : computeController.mul.call(null.round((e2 - min) / step), step) + min;
return e2 < min ? min : e2 > max ? max : computeController.mul.call(Math.round((e2 - min) / step), step) + min;
};
const _onUserChangedValue = (e2) => {
const max = Number(props2.max);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册