module-menu 0.3.22 → 0.3.24

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": "module-menu",
3
- "version": "0.3.22",
3
+ "version": "0.3.24",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -180,7 +180,7 @@ export const menuList = (stash = '') => [
180
180
  : require('../../assets/datasharing_slogo_LNRD.svg'),
181
181
  },
182
182
  {
183
- childName: '目录编制',
183
+ childName: '目录管理',
184
184
  path: '/catalog',
185
185
  // url: require('../../assets/muluguanli_slogo.png'),
186
186
  url:
@@ -188,6 +188,15 @@ export const menuList = (stash = '') => [
188
188
  ? require('../../assets/muluguanli_slogo.png')
189
189
  : require('../../assets/muluguanli_slogo_LNRD.svg'),
190
190
  },
191
+ {
192
+ childName: '目录编制',
193
+ path: '/catalog-compile',
194
+ // url: require('../../assets/muluguanli_slogo.png'),
195
+ url:
196
+ stash !== 'LNRD'
197
+ ? require('../../assets/muluguanli_slogo.png')
198
+ : require('../../assets/muluguanli_slogo_LNRD.svg'),
199
+ },
191
200
  {
192
201
  childName: '目录中心',
193
202
  path: '/catalog-center',
@@ -82,6 +82,8 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
82
82
  let menuGet = menuObj?.content || [];
83
83
  setSessionMenu(menuGet);
84
84
  const menuLists = getNewMenuList(menuGet);
85
+
86
+ console.log(menuLists, 'menuLists');
85
87
  setMenuList(menuLists);
86
88
  let exchangeInfo =
87
89
  menuGet && menuGet.find((item) => item.path === '/exchange');
@@ -191,9 +193,12 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
191
193
  case '数据安全':
192
194
  thirdPartyServiceJumpPath = '/datasecurity/';
193
195
  break;
194
- case '目录编制':
196
+ case '目录管理':
195
197
  thirdPartyServiceJumpPath = '/admin-ui/catalog';
196
198
  break;
199
+ case '目录编制':
200
+ thirdPartyServiceJumpPath = '/admin-ui/catalog-compile';
201
+ break;
197
202
  case '目录中心':
198
203
  thirdPartyServiceJumpPath = '/admin-ui/catalog-center';
199
204
  break;