设备录入微调

This commit is contained in:
sjl
2025-11-10 13:10:15 +08:00
parent 308ceb1a03
commit d1eb7f2dad
3 changed files with 72 additions and 11 deletions

View File

@@ -14,8 +14,7 @@ const calculateValue = (o: number, value: number, num: number, isMin: boolean) =
} else if (value > -1 && value < 0 && isMin == false) {
return 0
}
console.log('🚀 ~ calculateValue ~ Math.abs(o):', Math.abs(o))
let base
if (Math.abs(o) >= 100) {
base = 100