From 6075ce54425e6e00c878f195ad58cd0e6032ed53 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 23 Mar 2023 16:46:54 +0800 Subject: [PATCH] catalog --- themes/fukasawa/components/Catalog.js | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/fukasawa/components/Catalog.js b/themes/fukasawa/components/Catalog.js index dc924a7c..4aed743c 100644 --- a/themes/fukasawa/components/Catalog.js +++ b/themes/fukasawa/components/Catalog.js @@ -52,7 +52,6 @@ const Catalog = ({ toc }) => { } setActiveSection(currentSectionId) const index = tocIds.indexOf(currentSectionId) || 0 - console.log('滚动目录', tRef.current) tRef?.current?.scrollTo({ top: 28 * index, behavior: 'smooth' }) }, throttleMs))