Compare commits

...

2 Commits

Author SHA1 Message Date
dy
053ab1ab23 Merge remote-tracking branch 'origin/bugfix' into bugfix 2023-12-28 13:39:54 +08:00
dy
07fa117614 fix公共方法 random 2023-12-28 13:39:28 +08:00

View File

@ -115,7 +115,7 @@ export class PublicShared {
*
*/
static randomNum(min: number, max: number) {
return Math.floor(Math.random() * (max - min) + min);
return Math.floor(Math.random() * (max - min + 1) + min);
}
/**获取道具配置 */
static getAtnConf(atn: prizeType) {