@next-core/brick-container 2.98.22 → 2.98.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preview.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"/><base href="<!--# echo var='base_href' default='/' -->"/><script>window.DEVELOPER_PREVIEW = true;</script><link href="preview.ca42c8669e4d14c0eabd.css" rel="stylesheet"></head><body><div id="preview-root"><div id="main-mount-point"></div><div id="bg-mount-point" style="display: none"></div><div id="portal-mount-point"></div></div><script src="dll.90ef3f2c.js"></script><script src="polyfill.3e88f145a0893497373b.js"></script><script src="preview.e6bc912f1baa67e48282.js"></script></body></html>
1
+ <!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"/><base href="<!--# echo var='base_href' default='/' -->"/><script>window.DEVELOPER_PREVIEW = true;</script><link href="preview.5fb551513edc8051ce6c.css" rel="stylesheet"></head><body><div id="preview-root"><div id="main-mount-point"></div><div id="bg-mount-point" style="display: none"></div><div id="portal-mount-point"></div></div><script src="dll.90ef3f2c.js"></script><script src="polyfill.3e88f145a0893497373b.js"></script><script src="preview.3d1b49a405ab0a4ae5f6.js"></script></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/brick-container",
3
- "version": "2.98.22",
3
+ "version": "2.98.23",
4
4
  "description": "Brick Container Server",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-container",
6
6
  "license": "GPL-3.0",
@@ -73,5 +73,5 @@
73
73
  "webpack-dev-server": "^4.11.1",
74
74
  "webpack-merge": "^5.8.0"
75
75
  },
76
- "gitHead": "cd71264c361061e1cfde2685c6f742b3038e1725"
76
+ "gitHead": "20369431686b418451a68783182d56514970f61f"
77
77
  }
@@ -456,6 +456,8 @@ module.exports = (env, getRawIndexHtml) => {
456
456
  data.injectMenus = data.injectMenus.map((remoteMenu) => {
457
457
  const remoteAppId = remoteMenu.app?.[0]?.appId;
458
458
  const menuId = remoteMenu.menuId;
459
+ const menuType = remoteMenu.type;
460
+
459
461
  if (!remoteAppId || !menuId) {
460
462
  return remoteMenu;
461
463
  }
@@ -469,7 +471,7 @@ module.exports = (env, getRawIndexHtml) => {
469
471
  ) {
470
472
  // 从本地 storyboard 查找匹配的 menu
471
473
  const localMenu = localStoryboard.meta.menus.find(
472
- (menu) => menu.menuId === menuId
474
+ (menu) => menu.menuId === menuId && menu.type === menuType
473
475
  );
474
476
 
475
477
  if (localMenu) {