add random tips on currentTicket card

This commit is contained in:
Dawn1Ocean
2024-03-14 23:30:48 +08:00
parent 9931b23337
commit 60f10eaa8f
8 changed files with 62 additions and 16 deletions
+3
View File
@@ -0,0 +1,3 @@
export const randomInt = (floor: number, ceiling: number) => {
return Math.floor(Math.random() * (ceiling - floor + 1) + floor);
};