docs(components): correct the select and select-v2 documents (#18804)

This commit is contained in:
伊墨 2024-11-07 13:48:50 +08:00 committed by GitHub
parent 38b691093d
commit 89731b7d1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ select-v2/custom-label
| no-match-text | displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data' | ^[string] | — |
| no-data-text | displayed text when there is no options, you can also use slot empty | ^[string] | No Data |
| popper-class | custom class name for Select's dropdown | ^[string] | '' |
| teleported | whether select dropdown is teleported to the body | ^[boolean] | true |
| teleported | whether select dropdown is teleported, if `true` it will be teleported to where `append-to` sets | ^[boolean] | true |
| append-to ^(2.8.8) | which element the select dropdown appends to | ^[string] | — |
| persistent | when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed | ^[boolean] | true |
| popper-options | [popper.js](https://popper.js.org/docs/v2/) parameters | ^[object]refer to [popper.js](https://popper.js.org/docs/v2/) doc | {} |

View File

@ -213,7 +213,7 @@ select/custom-label
| popper-class | custom class name for Select's dropdown | ^[string] | '' |
| reserve-keyword | when `multiple` and `filterable` is true, whether to reserve current keyword after selecting an option | ^[boolean] | true |
| default-first-option | select first matching option on enter key. Use with `filterable` or `remote` | ^[boolean] | false |
| teleported | whether select dropdown is teleported to the body | ^[boolean] | true |
| teleported | whether select dropdown is teleported, if `true` it will be teleported to where `append-to` sets | ^[boolean] | true |
| append-to ^(2.8.4) | which element the select dropdown appends to | ^[string] | — |
| persistent | when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed | ^[boolean] | true |
| automatic-dropdown | for non-filterable Select, this prop decides if the option menu pops up when the input is focused | ^[boolean] | false |