mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-18 23:30:25 +08:00
12 lines
329 B
TypeScript
12 lines
329 B
TypeScript
|
|
import type { App } from 'vue';
|
||
|
|
import { authDirective } from '@/common/utils/authDirective.ts';
|
||
|
|
import { wavesDirective } from '@/common/utils/customDirective.ts';
|
||
|
|
|
||
|
|
// 导出指令方法
|
||
|
|
export function directive(app: App) {
|
||
|
|
// 用户权限指令
|
||
|
|
authDirective(app);
|
||
|
|
// 按钮波浪指令
|
||
|
|
wavesDirective(app);
|
||
|
|
}
|