-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Labels
Description
Version
Vben Admin V5
Describe the bug?
布局双列菜单模式,当前路由有badge刷新初始化不会展示,后面动态更新badge也不会变,需要点击一下菜单才展示
目前我在packages/effects/layouts/src/basic/menu/use-extra-menu.ts中的handleDefaultSelect中调整为: extraMenus.value = extraRootMenus.value ?? rootMenu?.children ?? [];才避免这个问题
Reproduction
可以在playground中http://localhost:5555/demos/badge/text这个页面复现bug
System Info
无Relevant log output
Validations
- Read the docs
- Ensure the code is up to date. (Some issues have been fixed in the latest version)
- I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.