Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改src/router/index.ts隐藏菜单无效 #610

Open
InvalidSyntaxxx opened this issue Mar 9, 2025 · 2 comments
Open

修改src/router/index.ts隐藏菜单无效 #610

InvalidSyntaxxx opened this issue Mar 9, 2025 · 2 comments

Comments

@InvalidSyntaxxx
Copy link

Image

Image

当我尝试隐藏一些多余的侧边菜单栏时,将 src/router/index.ts 中对应的路由设置为 hidden: true 时无效

@Mauri-ops
Copy link

兄弟,现在解决了吗,一样的问题,我是直接删除多余路由的,没有效果。
比如,我删除所有多余路由,只保留我自己写的路由,结果刷新一看,之前的“引导”、“工作台”、“权限管理”的 全都还在,我搞不懂

@zhangqin2-yewu
Copy link
Contributor

兄弟,现在解决了吗,一样的问题,我是直接删除多余路由的,没有效果。 比如,我删除所有多余路由,只保留我自己写的路由,结果刷新一看,之前的“引导”、“工作台”、“权限管理”的 全都还在,我搞不懂

需要在设置中关掉服务端动态路由

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants