mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 07:26:50 +00:00
feat 保留滚动进度
This commit is contained in:
@@ -61,9 +61,6 @@ const Slug = props => {
|
||||
post.toc = getPageTableOfContents(post, post.blockMap)
|
||||
}
|
||||
}
|
||||
router.events.on('routeChangeComplete', () => {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' })
|
||||
})
|
||||
}, [post])
|
||||
|
||||
const meta = {
|
||||
|
||||
Reference in New Issue
Block a user