@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/index.html +1 -1
- package/dist/{main.11e58a28724978eeaf6c.js → main.5a0df8877941241d6a07.js} +2 -2
- package/dist/{main.11e58a28724978eeaf6c.js.map → main.5a0df8877941241d6a07.js.map} +1 -1
- package/dist/{main.ff3829844003b1981409.css → main.98799647d025d7aec24a.css} +1 -1
- package/dist/main.98799647d025d7aec24a.css.map +1 -0
- package/dist/{preview.e6bc912f1baa67e48282.js → preview.3d1b49a405ab0a4ae5f6.js} +2 -2
- package/dist/{preview.e6bc912f1baa67e48282.js.map → preview.3d1b49a405ab0a4ae5f6.js.map} +1 -1
- package/dist/{preview.ca42c8669e4d14c0eabd.css → preview.5fb551513edc8051ce6c.css} +1 -1
- package/dist/preview.5fb551513edc8051ce6c.css.map +1 -0
- package/dist/preview.html +1 -1
- package/package.json +2 -2
- package/serve/getProxies.js +3 -1
- package/dist/main.ff3829844003b1981409.css.map +0 -1
- package/dist/preview.ca42c8669e4d14c0eabd.css.map +0 -1
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.
|
|
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.
|
|
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": "
|
|
76
|
+
"gitHead": "20369431686b418451a68783182d56514970f61f"
|
|
77
77
|
}
|
package/serve/getProxies.js
CHANGED
|
@@ -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) {
|