Skip to content

Commit

Permalink
docs(components): [tree-select] add cache option type
Browse files Browse the repository at this point in the history
  • Loading branch information
wzc520pyfm committed Apr 30, 2023
1 parent 0785d4a commit dc5d086
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/en-US/component/tree-select.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,18 @@ and please go to the original component to view the documentation.
| Name | Description | Type | Default |
| ------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------ | ------- |
| cacheData ^(2.2.26) | The cached data of the lazy node, the structure is the same as the data, used to get the label of the unloaded data | ^[object]`CacheOption[]` | [] |

## Type Declarations

<details>
<summary>Show declarations</summary>

```ts
type CacheOption = {
value: string | number | boolean | object
currentLabel: string | number
isDisabled: boolean
}
```
</details>

0 comments on commit dc5d086

Please sign in to comment.