We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
菜单渲染错误
router/menus/modules/xxx.ts
import type { MenuModule } from '/@/router/types'; import { t } from '/@/hooks/web/useI18n'; const menu: MenuModule = { orderNo: 0, menu: { path: '/merchant', name: t('routes.merchant.manage'), children: [ { path: 'list', name: t('routes.merchant.list'), hideMenu: true, }, { path: 'add', name: t('routes.merchant.add'), hideMenu: true, }, { path: 'bind_bankcard', name: t('routes.merchant.bindBankcard'), hideMenu: true, }, { path: 'detail', name: t('routes.merchant.detail'), hideMenu: true, }, ], }, }; export default menu;
展示效果有问题:顶部菜单混合模式下不应该出现左侧空白菜单
顶部菜单模式不应该有下拉菜单
** 左侧菜单模式应该可以直接跳转而不是打开折叠菜单而里面却没内容**
左侧菜单混合模式不应该出现空白菜单
The text was updated successfully, but these errors were encountered:
bug之外的问题,你能说说你菜单为什么要都隐藏吗,为什么不直接隐藏父级
Sorry, something went wrong.
有列表页、详情页、编辑页;都在这个父级菜单下的,默认重定向到列表页,详情页、编辑页通过列表中的操作按钮跳转;不写到同一个父级下,跳转详情页、编辑页的时候菜单的高亮就不在当前父级菜单了
我印象中, 见过作者好像发过关于这个项目的一些功能实现原理, 作者有空能共享下吗, 我想补习补习, 学习下设计思路
参考ant-design-pro-layout 希望可以添加hideChildrenInMenu之类的属性去控制
b67cf22
子菜单设置hideMenu: true时,访问该菜单父菜单失去高亮功能。
No branches or pull requests
Describe the bug
菜单渲染错误
Reproduction
router/menus/modules/xxx.ts
展示效果有问题:顶部菜单混合模式下不应该出现左侧空白菜单
顶部菜单模式不应该有下拉菜单
** 左侧菜单模式应该可以直接跳转而不是打开折叠菜单而里面却没内容**
左侧菜单混合模式不应该出现空白菜单
System Info
The text was updated successfully, but these errors were encountered: