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

菜单列表BUG #99

Open
haier955 opened this issue Oct 19, 2023 · 0 comments
Open

菜单列表BUG #99

haier955 opened this issue Oct 19, 2023 · 0 comments

Comments

@haier955
Copy link

问题目录系统管理 -> 菜单管理
问题现象:使用模糊检索,输入 user ,列表中会加载出子节点菜单,出现重复数据
image
导致原因:菜单列表采用分步加载的方式,菜单列表初始化列表时,只加载 顶级菜单,点击 >,才会加载下级菜单。
可以尝试的解决方案

  • 前端:可以初始化加载菜单时,加载全部菜单树,进行折叠,只显示顶级菜单
  • 后端:将整体菜单树进行缓存持久化;进行模糊查询时,依旧查询数据库,补全上级菜单时,通过缓存补全。
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

1 participant