mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-05-11 14:22:08 +08:00
chore: mitt demo
This commit is contained in:
10
apps/web-antd/src/views/system/dict/mitt.ts
Normal file
10
apps/web-antd/src/views/system/dict/mitt.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { mitt } from '@vben/utils';
|
||||
|
||||
/**
|
||||
* dictType: string
|
||||
*/
|
||||
type Events = {
|
||||
rowClick: string;
|
||||
};
|
||||
|
||||
export const emitter = mitt<Events>();
|
||||
Reference in New Issue
Block a user