mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 15:10:19 +00:00
hotfix toc-password
This commit is contained in:
@@ -75,7 +75,7 @@ const Slug = props => {
|
||||
)
|
||||
post.toc = getPageTableOfContents(post, post.blockMap)
|
||||
}
|
||||
}, [post, lock])
|
||||
}, [router, lock])
|
||||
|
||||
props = { ...props, lock, setLock, validPassword }
|
||||
// 根据页面路径加载不同Layout文件
|
||||
|
||||
@@ -65,8 +65,6 @@ const Catalog = ({ post }) => {
|
||||
return <></>
|
||||
}
|
||||
|
||||
console.log('渲染toc', toc)
|
||||
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user