| 12345678910111213141516 |
- 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';
- }
|