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

优化主题获取主菜单的 Finder API #6625

Open
ruibaby opened this issue Sep 10, 2024 · 0 comments
Open

优化主题获取主菜单的 Finder API #6625

ruibaby opened this issue Sep 10, 2024 · 0 comments
Assignees
Labels
area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@ruibaby
Copy link
Member

ruibaby commented Sep 10, 2024

你当前使用的版本

2.19.2

描述一下此特性

当前出现了不少关于主菜单找不到或者未设置的问题,导致前台无法正常渲染,这个时候也没有明显的提示原因。所以期望优化这个问题,建议方案:

  1. 如果没有设置或者通过某种方式取消了主菜单的设置,那么直接使用第一个 Menu 数据。
  2. 如果设置的主菜单不存在,同上。

/kind improvement
/area core

附加信息

No response

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. area/core Issues or PRs related to the Halo Core labels Sep 10, 2024
@ruibaby ruibaby added this to the 2.20.x milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

No branches or pull requests

2 participants