diff --git a/components/Cascader/Dictionary/index.d.ts b/components/Cascader/Dictionary/index.d.ts index 4b1ea24..9cee00d 100644 --- a/components/Cascader/Dictionary/index.d.ts +++ b/components/Cascader/Dictionary/index.d.ts @@ -4,7 +4,7 @@ import type { BasicCascaderProps } from "../Basic"; /** * 组件属性 */ -export interface DictionarySelectTreeProps extends Omit { +export interface DictionaryCascaderProps extends Omit { /** appKey,默认 DICTIONARY_APP_KEY_ENUM.DEFAULT(0bb989ecada5470c87635018ece9f327) */ appKey?: string; /** 要获取的字典 */ @@ -18,6 +18,6 @@ export interface DictionarySelectTreeProps extends Omit; +declare const DictionaryCascader: FC; -export default DictionarySelectTree; +export default DictionaryCascader; diff --git a/components/Cascader/Dictionary/index.js b/components/Cascader/Dictionary/index.js index 6076f32..989f391 100644 --- a/components/Cascader/Dictionary/index.js +++ b/components/Cascader/Dictionary/index.js @@ -6,7 +6,7 @@ import BasicCascader from "../Basic"; /** * 数据字典级联组件 */ -function DictionarySelectTree(props) { +function DictionaryCascader(props) { const { appKey = DICTIONARY_APP_KEY_ENUM.DEFAULT, dictValue = "", @@ -35,6 +35,6 @@ function DictionarySelectTree(props) { ); } -DictionarySelectTree.displayName = "DictionarySelectTree"; +DictionaryCascader.displayName = "DictionaryCascader"; -export default DictionarySelectTree; +export default DictionaryCascader;