feat: add pure-admin-thin

This commit is contained in:
xiaoxian521
2021-10-16 16:16:58 +08:00
parent 7067396ade
commit f4b5150b03
127 changed files with 11709 additions and 2 deletions

21
src/utils/mitt.ts Normal file
View File

@@ -0,0 +1,21 @@
import type { Emitter } from "mitt";
import mitt from "mitt";
type Events = {
resize: {
detail: {
width: number;
height: number;
};
};
openPanel: string;
tagViewsChange: string;
tagViewsShowModel: string;
logoChange: string;
changLayoutRoute: {
indexPath: string;
parentPath: string;
};
};
export const emitter: Emitter<Events> = mitt<Events>();