mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-03-15 14:35:38 +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);
|
|
}
|