From 15744325e6eb77968eb580f7d7664185c1de7d1a Mon Sep 17 00:00:00 2001 From: nyqykk <1327719263@qq.com> Date: Wed, 18 Dec 2024 17:43:34 +0800 Subject: [PATCH] fix: pkg relation text can not be click --- .../src/components/Alert/package-relation.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/components/src/components/Alert/package-relation.tsx b/packages/components/src/components/Alert/package-relation.tsx index 4721aac9..a7046a15 100644 --- a/packages/components/src/components/Alert/package-relation.tsx +++ b/packages/components/src/components/Alert/package-relation.tsx @@ -62,17 +62,7 @@ export const PackageRelationReasons: React.FC<{ return ( - { - e.preventDefault(); - e.stopPropagation(); - setIndex(i); - }} - strong={i === index} - style={{ - color: i === index ? Color.Blue : 'inherit', - }} - > +
{text}