From 725622621fcec5e7140854153b517b696eb124cb Mon Sep 17 00:00:00 2001 From: Bhwa233 <404174262@qq.com> Date: Fri, 15 Mar 2024 18:00:03 +0800 Subject: [PATCH] =?UTF-8?q?catalog=20=E9=AB=98=E5=BA=A6=E8=87=AA=E9=80=82?= =?UTF-8?q?=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/fukasawa/components/AsideLeft.js | 3 +- themes/fukasawa/components/Catalog.js | 38 ++++++++++++------------- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/themes/fukasawa/components/AsideLeft.js b/themes/fukasawa/components/AsideLeft.js index 5083269b..2befc93d 100644 --- a/themes/fukasawa/components/AsideLeft.js +++ b/themes/fukasawa/components/AsideLeft.js @@ -133,13 +133,12 @@ function AsideLeft(props) { -
+
{slot}
- } diff --git a/themes/fukasawa/components/Catalog.js b/themes/fukasawa/components/Catalog.js index 522646af..d584d5de 100644 --- a/themes/fukasawa/components/Catalog.js +++ b/themes/fukasawa/components/Catalog.js @@ -58,29 +58,27 @@ const Catalog = ({ toc }) => { if (!toc || toc?.length < 1) { return <> } - return
+ return
{locale.COMMON.TABLE_OF_CONTENTS}
-
- -
+ {tocItem.text} + + + ) + })} +
}