sidebar配置了,但是会跳转新页面,不会停留在当前目录,其中有一项是多级目录 #2257
Unanswered
Front-end-coder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
sidebar: {
'/src': [
{
title: '状态',
children: [
{
title: 'useBoolean',
link: '/src/use-boolean',
},
{
title: 'useCreation',
link: '/src/use-creation',
},
],
},
{
title: 'Effect',
children: [
{
title: 'useMount',
link: '/src/use-mount',
},
{
title: 'useUnmount',
link: '/src/use-unmount',
},
],
},
{
title: '请求',
children: [
{
title: 'useRequest',
link: '/src/use-request/docs',
},
{
title: 'demo',
link: '/src/use-request/docs/demo',
},
],
},
],
},
因为useRequest模块下还有子菜单所以放在了子目录下,不知道怎么不跳转新页面,或者说有什么好的方案替代
Beta Was this translation helpful? Give feedback.
All reactions