获取随机数 夜空的心 2020-05-29 151 阅读1分钟 rnd(max, min = 0) { return Math.round(Math.random() * (max - min)) + min }