module-menu 0.2.14 → 0.2.16

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.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
Binary file
@@ -87,6 +87,11 @@ export const menuList = (stash) => [
87
87
  path: '/gongxuduijie',
88
88
  url: require('../../assets/gongxuduijie_slogo.png'),
89
89
  },
90
+ {
91
+ childName: '级联管理',
92
+ path: '/jilianguanli',
93
+ url: require('../../assets/jilianguanl_slogo.png'),
94
+ },
90
95
  ]
91
96
  : [
92
97
  {
@@ -141,6 +141,9 @@ const ModuleMenu = ({ sysName, stash }) => {
141
141
  thirdPartyServiceJumpPath =
142
142
  '/admin-ui/supply-and-demand-docking/dataRequirement/propose/list';
143
143
  break;
144
+ case '级联管理':
145
+ thirdPartyServiceJumpPath = '';
146
+ break;
144
147
  default:
145
148
  break;
146
149
  }
@@ -49,8 +49,7 @@ const ModuleUser = ({ stash }) => {
49
49
 
50
50
  const isHaveSystemManagementPermission = stash
51
51
  ? true
52
- : sessionStorage.getItem('bigdata-isHaveSystemManagementPermission');
53
-
52
+ : getStore({ name: 'isHaveSystemManagementPermission' });
54
53
  const DEFAULT_LOGOUT_URL = !stash ? '/#/login' : '/admin-ui/login';
55
54
 
56
55
  // 跳转服务门户
@@ -1,4 +1,4 @@
1
- // tokenInSessionStor存在为一体化,不存在为轻量级
1
+ // tokenInSessionStor不存在为一体化,存在为轻量级
2
2
  const tokenInSessionStor = window.sessionStorage.getItem('bigdata-access_token');
3
3
  /**
4
4
  * 获取认证相关的localStorage/SessionStorage