Commit e53257e9b2914c9f7b6240deea82e0ec31c8bfd9

Authored by ww
1 parent ff66d8b1

fix: 修复值为小数时会影响区间取值

@@ -14648,7 +14648,7 @@ class HandleDataSource { @@ -14648,7 +14648,7 @@ class HandleDataSource {
14648 14648
14649 const numberValue = Number(value) 14649 const numberValue = Number(value)
14650 14650
14651 - let newMax = Number('1'.padEnd(value.toString().length + 1, 0)) 14651 + let newMax = Number('1'.padEnd(parseInt(value).toString().length + 1, 0))
14652 14652
14653 newMax = newMax < 100 ? 100 : newMax 14653 newMax = newMax < 100 ? 100 : newMax
14654 14654