export interface ActionMenu<T = unknown> {
    name: string;
    label: string;
    type?: string;
    className?: string;
    icon?: string;
    disabled?: boolean;
    hide?: boolean;
    record?: T;
}

export interface ActionMenuOptions {
    authCode?: string;
    queryFn?: (name?: string) => void;
    preventDefault?: boolean; // 阻止按钮事件重复提交
}