export type DictItem = { label: string; value: string | number; [key: string]: any; }; interface IUseSelectType { /** 字典编码 */ code: string; /** 请求时机(同useFetch的ready),默认true */ ready?: boolean; /** 额外请求参数 */ params?: Record; } export default function useSelect(props: IUseSelectType): { data: any; loading: boolean; }; export {};