12 lines
305 B
TypeScript
12 lines
305 B
TypeScript
![]() |
import type { App } from 'vue';
|
||
|
import { authDirective } from '/@/utils/authDirective.ts';
|
||
|
import { wavesDirective } from '/@/utils/customDirective.ts';
|
||
|
|
||
|
// 导出指令方法
|
||
|
export function directive(app: App) {
|
||
|
// 用户权限指令
|
||
|
authDirective(app);
|
||
|
// 按钮波浪指令
|
||
|
wavesDirective(app);
|
||
|
}
|