yxw 2023-11-23 15:02:59 +08:00
parent 396ab32022
commit ab15b0ad4a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {