diff --git a/components/select/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/select/__tests__/__snapshots__/demo-extend.test.ts.snap index 347345172f..bc37490d64 100644 --- a/components/select/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/select/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -3960,6 +3960,191 @@ exports[`renders ./components/select/demo/optgroup.tsx extend context correctly `; +exports[`renders ./components/select/demo/option-label-center.tsx extend context correctly 1`] = ` +
Placement
4.0 Debug
\_InternalPanelDoNotUseOrYouWillBeFired
+Options label Centered
## API
diff --git a/components/select/index.zh-CN.md b/components/select/index.zh-CN.md
index 8d2e5c6278..08fc49219b 100644
--- a/components/select/index.zh-CN.md
+++ b/components/select/index.zh-CN.md
@@ -43,6 +43,7 @@ demo:
弹出位置
4.0 Debug
\_InternalPanelDoNotUseOrYouWillBeFired
+选项文本居中
## API
diff --git a/components/select/style/dropdown.tsx b/components/select/style/dropdown.tsx
index 8aa6956ece..c9e0b83a69 100644
--- a/components/select/style/dropdown.tsx
+++ b/components/select/style/dropdown.tsx
@@ -114,6 +114,10 @@ const genSingleStyle: GenerateStyle