fix: 对未解绑的公共事件,在页面销毁时解绑

This commit is contained in:
xiaoxian521
2023-06-09 18:03:37 +08:00
parent ba2ec8aca2
commit c06ce94746
6 changed files with 43 additions and 46 deletions

View File

@@ -16,7 +16,6 @@ type Events = {
indexPath: string;
parentPath: string;
};
setAdaptive: string;
};
export const emitter: Emitter<Events> = mitt<Events>();