mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:52:21 +08:00
refactor(css): refactored windicss to tailwindcss
This commit is contained in:
@@ -27,6 +27,7 @@ export interface Emitter {
|
||||
|
||||
emit<T = any>(type: EventType, event?: T): void;
|
||||
emit(type: '*', event?: any): void;
|
||||
clear(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -88,5 +89,12 @@ export default function mitt(all?: EventHandlerMap): Emitter {
|
||||
handler(type, evt);
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Clear all
|
||||
*/
|
||||
clear() {
|
||||
this.all.clear();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user