程控源调整

This commit is contained in:
caozehui
2026-06-18 10:01:39 +08:00
parent 4415eb30b2
commit cd51cfb052
5 changed files with 540 additions and 265 deletions

View File

@@ -1,10 +1,12 @@
import mitt from "mitt";
export const STOP_DETECTION_TIMER_EVENT = "stopDetectionTimer";
export const TAB_CLOSED_EVENT = "tabClosed";
type MittBusEvents = {
openThemeDrawer: undefined;
[STOP_DETECTION_TIMER_EVENT]: undefined;
[TAB_CLOSED_EVENT]: string;
};
const mittBus = mitt<MittBusEvents>();