diff --git a/components/SearchInput.js b/components/SearchInput.js index 9ef4f138..c9462b59 100644 --- a/components/SearchInput.js +++ b/components/SearchInput.js @@ -49,7 +49,7 @@ const SearchInput = ({ currentTag, currentSearch }) => {
{ handleSearch(searchKey) }}> - +
} diff --git a/components/SideBar.js b/components/SideBar.js index ce1ac741..6b4eb05a 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -69,6 +69,10 @@ const SideBar = ({ tags, currentTag, post, posts, categories, currentCategory }) {post && (
+
+ 文章目录 +
)} diff --git a/components/Toc.js b/components/Toc.js index 9ff24e14..15aedbc3 100644 --- a/components/Toc.js +++ b/components/Toc.js @@ -50,11 +50,7 @@ const Toc = ({ toc }) => { setActiveSection(currentSectionId) }, throttleMs)) - return
-
- 文章目录 -
+ return