From f23b47c9f16a2b2ee9679cbbab17cb57f937f712 Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Wed, 22 Apr 2026 11:52:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=81=97=E6=BC=8F?= =?UTF-8?q?=E7=9A=84=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ui/dropdown-selector.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/ui/dropdown-selector.tsx b/frontend/src/components/ui/dropdown-selector.tsx index 48803194..dee8b236 100644 --- a/frontend/src/components/ui/dropdown-selector.tsx +++ b/frontend/src/components/ui/dropdown-selector.tsx @@ -81,9 +81,7 @@ export function DropdownSelector({ } > - {/* {truncateMiddle(selectedOption?.label ?? value, 20)} */} - {truncateMiddle("hfiqwertyuiopasdfghjklxcvbnm.html", 20)} - + {truncateMiddle(selectedOption?.label ?? value, 20)} {isOpen ? : } @@ -100,8 +98,7 @@ export function DropdownSelector({ value={option.value} title={option.label} > - {/* {truncateMiddle(option.label,50)} */} - {truncateMiddle("hfiqwertyuiopasdfghjklxcvbnm.html", 20)} + {truncateMiddle(option.label,20)} ))}