mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 15:09:36 +00:00
gitbook url selected decode
This commit is contained in:
@@ -36,7 +36,7 @@ const NavPostList = props => {
|
||||
// 默认展开一个
|
||||
const defaultOpenIndex = getDefaultOpenIndexByPath(
|
||||
categoryFolders,
|
||||
router.asPath.split('?')[0]
|
||||
decodeURIComponent(router.asPath.split('?')[0])
|
||||
)
|
||||
setExpandedGroups([defaultOpenIndex])
|
||||
}, 500)
|
||||
|
||||
Reference in New Issue
Block a user