A modern vue admin. It is based on Vue3, vite and TypeScript. It's fast!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
346 B

import type { ComputedRef, Ref } from 'vue';
export type DynamicProps<T> = {
[P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
};
export type SmartAuthDisplayMode = 'hide' | 'disabled';
/**
* 权限
*/
export interface SmartAuth {
permission: string | string[];
displayMode?: SmartAuthDisplayMode;
multipleMode?: 'and' | 'or';
}