Skip to content

Commit

Permalink
chore: 修改类型和标题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiamiao committed Aug 7, 2024
1 parent 204df17 commit eabc67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/check-tree-select/src/CheckTreeSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const CheckTreeSelect = forwardRef<HTMLDivElement | null, CheckTreeSelect
onClose,
})

const [filterItems, setFilterItems] = useState<any[] | null>(null)
const [filterItems, setFilterItems] = useState<CheckTreeSelectDataItem[] | null>(null)
const expandedViewRef = useRef<'normal' | 'onlyChecked'>('normal')
const activeExpandable = showOnlyShowChecked && !!filterItems && menuVisible

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import CheckTreeSelect from '../src'

/**
* @title 仅过滤已选用法
* @title 查看已选
*/
export const OnlyChecked = () => {
const [data] = React.useState([
Expand Down

0 comments on commit eabc67d

Please sign in to comment.