Skip to content

Commit

Permalink
feat(check-cascader): 修改fieldNames类型
Browse files Browse the repository at this point in the history
  • Loading branch information
xiamiao committed Jun 25, 2024
1 parent bd531a9 commit f47509b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/check-cascader/src/CheckCascader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { flattenTreeData } from './utils'
import { getNodeAncestorsWithMe, getTopDownAncestors } from '@hi-ui/tree-utils'
import { useLatestCallback } from '@hi-ui/use-latest'
import { isArrayNonEmpty, isFunction, isUndef } from '@hi-ui/type-assertion'
import { HiBaseAppearanceEnum, HiBaseSizeEnum, useLocaleContext } from '@hi-ui/core'
import { HiBaseAppearanceEnum, HiBaseFieldNames, HiBaseSizeEnum, useLocaleContext } from '@hi-ui/core'

import { callAllFuncs } from '@hi-ui/func-utils'

Expand Down Expand Up @@ -287,7 +287,7 @@ export interface CheckCascaderProps extends Omit<PickerProps, 'trigger' | 'scrol
/**
* 设置 data 中字段对应的 key
*/
fieldNames?: Record<string, string>
fieldNames?: HiBaseFieldNames
/**
* 设置当前多选值
*/
Expand Down

0 comments on commit f47509b

Please sign in to comment.