release: update 4.4.0

This commit is contained in:
xiaoxian521
2023-06-14 17:14:33 +08:00
parent e0f28acdc4
commit 97f0e1531c
23 changed files with 778 additions and 957 deletions

View File

@@ -1,21 +1,13 @@
import type { Emitter } from "mitt";
import mitt from "mitt";
/** 全局公共事件需要在此处添加类型 */
type Events = {
resize: {
detail: {
width: number;
height: number;
};
};
openPanel: string;
tagViewsChange: string;
tagViewsShowModel: string;
logoChange: boolean;
changLayoutRoute: {
indexPath: string;
parentPath: string;
};
changLayoutRoute: string;
};
export const emitter: Emitter<Events> = mitt<Events>();