From 04a7b3491751e952bcc67519ae1ca17b1d323715 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 13 Oct 2021 13:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Container.js | 1 - components/Footer.js | 1 - components/LeftFloatButton.js | 1 - 3 files changed, 3 deletions(-) diff --git a/components/Container.js b/components/Container.js index 7c24ff8e..948ba596 100644 --- a/components/Container.js +++ b/components/Container.js @@ -11,7 +11,6 @@ const Container = ({ children, layout, fullWidth, tags, meta, ...customMeta }) = const scrollS = window.scrollY const nav = document.querySelector('#sticky-nav') const tagsBar = document.querySelector('#tags-bar') - console.log(windowTop, scrollS) if (scrollS >= windowTop) { nav && nav.classList.add('-mt-16') tagsBar && tagsBar.classList.add('-mt-32') diff --git a/components/Footer.js b/components/Footer.js index df4410fe..8908530f 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -1,4 +1,3 @@ -import BLOG from '@/blog.config' import React from 'react' const Footer = ({ fullWidth = true }) => { diff --git a/components/LeftFloatButton.js b/components/LeftFloatButton.js index 37242f90..c6367832 100644 --- a/components/LeftFloatButton.js +++ b/components/LeftFloatButton.js @@ -25,7 +25,6 @@ const LeftFloatButton = () => { } }, 500) const [collapse, changeCollapse] = useState(true) - console.log(collapse) return
{/* 菜单折叠 */}