-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(): menu支持大于两层 #3109
feat(): menu支持大于两层 #3109
Conversation
Refs DESIGNER_ROUTINE-651
d1cba8c
to
5401ca5
Compare
Passing run #6769 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov Report
@@ Coverage Diff @@
## master #3109 +/- ##
==========================================
- Coverage 93.25% 93.21% -0.04%
==========================================
Files 296 296
Lines 9757 9759 +2
Branches 1846 1846
==========================================
- Hits 9099 9097 -2
- Misses 412 414 +2
- Partials 246 248 +2
|
@@ -111,6 +113,8 @@ export async function fetchMenuById( | |||
} | |||
const menuList = window.STANDALONE_MICRO_APPS | |||
? await kernel.getStandaloneMenus(menuId, isPreFetch) | |||
: kernel.getFeatureFlags()["three-level-menu-layout"] | |||
? ((await InstalledMicroAppApi_getMenusInfo(menuId)).menus as MenuRawData[]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nlicroshan v3 也需要同步一下哦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next-core/packages/easyops-runtime/src/menu/fetchMenuById.ts
Lines 41 to 44 in c7c999f
const menuList = window.STANDALONE_MICRO_APPS | |
? getMenusOfStandaloneApp(menuId, runtimeContext.app.id, helpers) | |
: (( | |
await InstanceApi_postSearch("EASYOPS_STORYBOARD_MENU", { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Refs DESIGNER_ROUTINE-651
依赖检查
组件之间的依赖声明,是微服务组件架构下的重要信息,请确保其正确性。
请勾选以下两组选项其中之一:
或者:
提交信息检查
Git 提交信息将决定包的版本发布及自动生成的 CHANGELOG,请检查工作内容与提交信息是否相符,并在以下每组选项中都依次确认。
破坏性变更:
feat
作为提交类型。BREAKING CHANGE: 你的变更说明
。新特性:
feat
作为提交类型。问题修复:
fix
作为提交类型。杂项工作:
即所有对下游使用者无任何影响、且没有必要显示在 CHANGELOG 中的改动,例如修改注释、测试用例、开发文档等:
chore
,docs
,test
等作为提交类型。