UNPKG

snowy-designer

Version:

基于Epic-Designer-Pro版本的设计器,可视化开发页面表单

23 lines (22 loc) 625 B
type DictItem = { label: string; value: string; }; type DictItems = { [dictCode: string]: DictItem[]; }; export declare function useDict(): { dictItems: import('vue').Ref<DictItems, DictItems>; dictList: import('vue').Ref<{ label: string; value: string; }[], DictItem[] | { label: string; value: string; }[]>; loadDictItem: (dictCode: string) => Promise<void>; loadDictList: () => Promise<void>; setFetchDictItemsFn: (fn: (dictCode: string) => Promise<DictItem[]>) => void; setFetchDictListFn: (fn: () => Promise<DictItem[]>) => void; }; export {};