PixelAI-admin/src/utils/directive.ts

16 lines
443 B
TypeScript
Raw Normal View History

import type { App } from 'vue';
import { authDirective } from '/@/utils/authDirective';
import { wavesDirective } from '/@/utils/customDirective';
/**
* v-xxx
* @methods authDirective v-auth
* @methods wavesDirective v-waves
*/
export function directive(app: App) {
// 用户权限指令
authDirective(app);
// 按钮波浪指令
wavesDirective(app);
}