From 20e69bb057d11adab8c06d9843bfcb2b218f48a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Mon, 11 Nov 2024 14:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=BD=91=E7=AB=99=E7=A9=BA=E7=8A=B6=E6=80=81=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Web/index.tsx | 54 +++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/pages/Web/index.tsx b/src/pages/Web/index.tsx index 5d979ef..e64c209 100644 --- a/src/pages/Web/index.tsx +++ b/src/pages/Web/index.tsx @@ -117,33 +117,35 @@ const LinkPage = () => { -
- {listTemp.length > 0 ? ( - listTemp.map(item => ( -
-
- + {listTemp.length > 0 ? ( +
+ { + listTemp.map(item => ( +
+
+ +
+ +
{item.title}
+
{item.description}
+
{item.type.name}
+ +
+
editLinkData(item)} className="edit">修改
+ + deleteLinkData(item.id!)}> +
删除
+
+
+ +
toHref(item.url)} className="headFor">前往该网站 →
- -
{item.title}
-
{item.description}
-
{item.type.name}
- -
-
editLinkData(item)} className="edit">修改
- - deleteLinkData(item.id!)}> -
删除
-
-
- -
toHref(item.url)} className="headFor">前往该网站 →
-
- )) - ) : ( - - )} -
+ )) + } +
+ ) : ( + + )} ),