随机数

67 阅读1分钟
Array.from({ length: 7 }, item => Number((Math.random() * (7000 - 10000) + 10000).toFixed(0)))
Array.from({ length: 25 }, item => (Math.random() * (54.0 - 55.5) + 55.5).toFixed(2))