2025-11-08 12:07:29 +08:00
|
|
|
|
import type { FC } from "react";
|
|
|
|
|
|
import type { BasicCascaderProps } from "../Basic";
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 组件属性
|
|
|
|
|
|
*/
|
2025-11-14 14:13:30 +08:00
|
|
|
|
export interface DictionaryCascaderProps extends Omit<BasicCascaderProps, "options" | "nameKey" | "idKey" | "childrenKey"> {
|
2025-11-08 12:07:29 +08:00
|
|
|
|
/** appKey,默认 DICTIONARY_APP_KEY_ENUM.DEFAULT(0bb989ecada5470c87635018ece9f327) */
|
|
|
|
|
|
appKey?: string;
|
|
|
|
|
|
/** 要获取的字典 */
|
|
|
|
|
|
dictValue: string;
|
|
|
|
|
|
/** 树形数据 label 字段,默认 dictLabel */
|
|
|
|
|
|
nameKey?: string;
|
|
|
|
|
|
/** 树形数据 value 字段,默认 dictValue */
|
|
|
|
|
|
idKey?: string;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 数据字典级联组件
|
|
|
|
|
|
*/
|
2025-11-14 14:13:30 +08:00
|
|
|
|
declare const DictionaryCascader: FC<DictionaryCascaderProps>;
|
2025-11-08 12:07:29 +08:00
|
|
|
|
|
2025-11-14 14:13:30 +08:00
|
|
|
|
export default DictionaryCascader;
|