django-vue3-admin-web/node_modules/@fast-crud/fast-crud/dist/d/use/use-dict.d.ts
2025-10-20 21:21:14 +08:00

17 lines
600 B
TypeScript

import { Dict } from "../use/use-dict-define";
export declare function useDict(props: any, ctx: any, vModel?: string): {
createComputedOptions: () => import("vue").ComputedRef<any>;
loadDict: (reload?: boolean) => Promise<void>;
reloadDict: () => Promise<void>;
clearDict: () => void;
getDictData: () => any;
getDict: () => any;
watchValue: () => void;
getValue: (item: any) => any;
getLabel: (item: any) => any;
getChildren: (item: any) => any;
getColor: (item: any) => any;
removePropValue: (item: any, prop: any) => void;
curDict: Dict<any>;
};