更新周边功能

This commit is contained in:
xiaoaojiao
2025-09-09 23:24:51 +08:00
parent 9a5cf53e3c
commit 246edb68ab
15 changed files with 644 additions and 344 deletions

13
src/globalToastEvent.js Normal file
View File

@@ -0,0 +1,13 @@
import mitt from 'mitt';
const globalToastEvent = mitt();
export const ToastType = {
SHOW_TODO: "show_todo",
SHOW_RULE: "show_rule",
SHOW_PRIZELIST: "show_prizelist",
SHOW_LOTTERY: "show_lottery",
SHOW_AD:"show_ad",
SHOW_ADDRESS:"show_address"
};
export default globalToastEvent;