This commit is contained in:
parent
95a70af276
commit
471beffb7a
|
@ -2104,7 +2104,7 @@ const addggfwq = () => {
|
|||
distances.push(distance); // 将距离存入数组
|
||||
});
|
||||
let maxDistance = Math.max(...distances); // 找到最大距离
|
||||
maxDistance = Math.ceil(maxDistance * 1.8); // 向上取整
|
||||
maxDistance = Math.ceil(maxDistance * 2.5); // 向上取整
|
||||
if (maxDistance < 100) {
|
||||
maxDistance = 150; // 如果小于 100,则赋值为 150
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue