diff --git a/ducking.html b/ducking.html index 4ec31b5..d66cec1 100644 --- a/ducking.html +++ b/ducking.html @@ -680,7 +680,7 @@ let barHeight = `calc(${pct}% + ${$thumb[0].clientHeight / 2}px)`; $bar.attr('style', `height:${barHeight}`) - let number = ((input.val() * (1990 / 100)) + 10).toFixed(1) + let number = parseInt(((input.val() * (1990 / 100)) + 10).toFixed(1)) $value.val(`${number}`); //调用接口提交数据 if (number == -0) {