17 lines
600 B
TypeScript
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>;
|
|
};
|