提交 | 用户 | age | ||
890ff8 | 1 | import type { Directive } from 'vue'; |
S | 2 | import { RoleEnum } from '@/enums/roleEnum'; |
3 | ||
4 | declare module 'vue' { | |
5 | export interface ComponentCustomProperties { | |
6 | vLoading: Directive<Element, boolean>; | |
7 | vAuth: Directive<Element, string | string[] | RoleEnum[]>; | |
8 | } | |
9 | } | |
10 | ||
11 | export {}; |