chore: update

(cherry picked from commit 3ad9e76823d211e3feadf6fd8c0e64e669b40c64)
This commit is contained in:
𝑾𝒖𝒙𝒉 2025-05-28 15:48:06 +08:00
parent 71c35d1e42
commit f85742ba9e
No known key found for this signature in database
GPG Key ID: 4E035332466F0370
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ Common props ref[Common props](/docs/react/common-props)
| value | Current selected option (considered as a immutable array) | string \| string\[] \| <br />number \| number\[] \| <br />LabeledValue \| LabeledValue\[] | - | |
| variant | Variants of selector | `outlined` \| `borderless` \| `filled` \| `underlined` | `outlined` | 5.13.0 \| `underlined`: 5.24.0 |
| virtual | Disable virtual scroll when set to false | boolean | true | 4.1.0 |
| onActive | Called when keyboard or mouse interaction occurs | function(value: string \| number \| LabeledValue) | - | 6.0.0 |
| onActive | Called when keyboard or mouse interaction occurs | function(value: string \| number \| LabeledValue) | - | |
| onBlur | Called when blur | function | - | |
| onChange | Called when select an option or input value change | function(value, option:Option \| Array&lt;Option>) | - | |
| onClear | Called when clear | function | - | 4.6.0 |

View File

@ -128,7 +128,7 @@ return (
| value | 指定当前选中的条目多选时为一个数组。value 数组引用未变化时Select 不会更新) | string \| string\[] \| <br />number \| number\[] \| <br />LabeledValue \| LabeledValue\[] | - | |
| variant | 形态变体 | `outlined` \| `borderless` \| `filled` \| `underlined` | `outlined` | 5.13.0 \| `underlined`: 5.24.0 |
| virtual | 设置 false 时关闭虚拟滚动 | boolean | true | 4.1.0 |
| onActive | 键盘和鼠标交互时触发 | function(value: string \| number \| LabeledValue) | - | 6.0.0 |
| onActive | 键盘和鼠标交互时触发 | function(value: string \| number \| LabeledValue) | - | |
| onBlur | 失去焦点时回调 | function | - | |
| onChange | 选中 option或 input 的 value 变化时,调用此函数 | function(value, option:Option \| Array&lt;Option>) | - | |
| onClear | 清除内容时回调 | function | - | 4.6.0 |