mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-01 18:17:46 +00:00
types: complete dirctives and v-role custom color (#3718)
* types: complete dirctives * chore: v-auth custom color
This commit is contained in:
11
types/directives.d.ts
vendored
Normal file
11
types/directives.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { Directive } from 'vue';
|
||||
import { RoleEnum } from '@/enums/roleEnum';
|
||||
|
||||
declare module 'vue' {
|
||||
export interface ComponentCustomProperties {
|
||||
vLoading: Directive<Element, boolean>;
|
||||
vAuth: Directive<Element, string | string[] | RoleEnum[]>;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
Reference in New Issue
Block a user