@bit-sun/business-component 4.0.13-alpha.20 → 4.0.13-alpha.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.0.13-alpha.20",
3
+ "version": "4.0.13-alpha.21",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -100,7 +100,9 @@ export const getMainCrumbNameMap = (menuData) => {
100
100
  };
101
101
  });
102
102
  };
103
- flattenMenuData(menuData, {});
103
+ const newList = (window.top||window)?.applicationList?.filter?.((app: any) => app.code === menuData?.[0]?.belongAppCode) || [];
104
+ const appChannelParent = newList.length > 0 ? { nameMap: [newList[0].name]} : {};
105
+ flattenMenuData(menuData,appChannelParent);
104
106
  return routerMap;
105
107
  }
106
108
 
@@ -940,7 +940,7 @@ const AddSelect = (props: any) => {
940
940
  </div>
941
941
  {isModalVisible && (
942
942
  <Modal
943
- width='1200px'
943
+ width={`calc(100% - 320px)`}
944
944
  style={{ top: 20 }}
945
945
  bodyStyle={{ padding: '0px' }}
946
946
  visible={isModalVisible}