diff --git a/themes/gitbook/LayoutIndex.js b/themes/gitbook/LayoutIndex.js index 01cd5942..e259a80a 100644 --- a/themes/gitbook/LayoutIndex.js +++ b/themes/gitbook/LayoutIndex.js @@ -13,7 +13,7 @@ export const LayoutIndex = (props) => { // 直接显示指定页面 useEffect(() => { router.push(CONFIG_GITBOOK.INDEX_PAGE).then(() => { - console.log('跳转到指定首页', CONFIG_GITBOOK.INDEX_PAGE) + // console.log('跳转到指定首页', CONFIG_GITBOOK.INDEX_PAGE) setTimeout(() => { if (isBrowser()) { const article = document.getElementById('notion-article') diff --git a/themes/gitbook/components/PageNavDrawer.js b/themes/gitbook/components/PageNavDrawer.js index ca0c2452..062629cc 100644 --- a/themes/gitbook/components/PageNavDrawer.js +++ b/themes/gitbook/components/PageNavDrawer.js @@ -14,7 +14,6 @@ const PageNavDrawer = ({ post, cRef }) => { changePageNavVisible(!pageNavVisible) } - console.log('page', pageNavVisible) return <>