From a694167f37d9603791fc1e4043f5b9f95af28dad Mon Sep 17 00:00:00 2001 From: selicens <1244620067@qq.com> Date: Sun, 14 May 2023 17:02:07 +0800 Subject: [PATCH] fix: segmentd disabled label is undefined (#6556) * fix: segmentd disabled label is undefined * fix: segmentd disabled label is undefined * fix: segmentd disabled label is undefined --- components/segmented/src/segmented.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/segmented/src/segmented.tsx b/components/segmented/src/segmented.tsx index 48f65994b9..816db84380 100644 --- a/components/segmented/src/segmented.tsx +++ b/components/segmented/src/segmented.tsx @@ -101,7 +101,7 @@ const SegmentedOption: FunctionalComponent< payload, title, }) - : label} + : label ?? value} );