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