docs(dropdown): Update dropdown docs. (#2372)

This commit is contained in:
songjianet 2022-02-10 09:35:22 +08:00 committed by GitHub
parent a8777589a9
commit 6125147346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,8 @@ option-props
#### DropdownRenderOption Type
| 属性 | 类型 | 说明 |
| ------ | ------------------ | -------------------------------------- |
| type | `'render'` | The type of the DropdownRenderOption. |
| key | `string \| number` | Render option ID (should be unique). |
| render | `() => VNodeChild` | Render function of the option content. |
| 属性 | 类型 | 说明 |
| ------ | ------------------ | --------------------------- |
| type | `'render'` | DropdownRenderOption 的类型 |
| key | `string \| number` | 渲染选项 ID应该是唯一的 |
| render | `() => VNodeChild` | 选项内容的渲染功能 |