From e8f7b0a620faf424d6d7abc72db19df4d6d1d0eb Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Mon, 4 Nov 2024 15:18:48 +0800 Subject: [PATCH] docs(inputNumber): fix focus version to 5.22.0 (#51478) --- components/input-number/index.en-US.md | 4 ++-- components/input-number/index.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/input-number/index.en-US.md b/components/input-number/index.en-US.md index 11ea9b1486..8dd89bb0ea 100644 --- a/components/input-number/index.en-US.md +++ b/components/input-number/index.en-US.md @@ -29,7 +29,7 @@ When a numeric value needs to be provided. Out of range Prefix / Suffix Status -Focus +Focus Icon _InternalPanelDoNotUseOrYouWillBeFired Override Component Style @@ -74,7 +74,7 @@ Common props ref:[Common props](/docs/react/common-props) | Name | Description | Type | Version | | --- | --- | --- | --- | | blur() | Remove focus | - | | -| focus() | Get focus | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.23.0 | +| focus() | Get focus | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.22.0 | | nativeElement | The native DOM element | - | 5.17.3 | ## Design Token diff --git a/components/input-number/index.zh-CN.md b/components/input-number/index.zh-CN.md index 75ada6298d..4b699c6c9e 100644 --- a/components/input-number/index.zh-CN.md +++ b/components/input-number/index.zh-CN.md @@ -30,7 +30,7 @@ demo: 超出边界 前缀/后缀 自定义状态 -聚焦 +聚焦 图标按钮 _InternalPanelDoNotUseOrYouWillBeFired 覆盖组件样式 @@ -75,7 +75,7 @@ demo: | 名称 | 说明 | 参数 | 版本 | | --- | --- | --- | --- | | blur() | 移除焦点 | - | | -| focus() | 获取焦点 | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.23.0 | +| focus() | 获取焦点 | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.22.0 | | nativeElement | 获取原生 DOM 元素 | - | 5.17.3 | ## 主题变量(Design Token)