module-menu 0.3.31 → 0.3.32

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.31",
3
+ "version": "0.3.32",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -47,7 +47,7 @@ const ModuleUser = ({
47
47
  })
48
48
  .catch((e) => console.log('e', e));
49
49
  } else if (stash === 'integration') {
50
- Axios('get', '/admin-api/system/auth/systemPage', '', {})
50
+ Axios('get', '/admin-api/system/auth/systemPage', '', {})
51
51
  .then((res) => {
52
52
  if (res.data.code === 0) {
53
53
  window.location.href = `/admin-ui${res.data.data.path}`;
@@ -134,7 +134,7 @@ const ModuleUser = ({
134
134
  };
135
135
  });
136
136
  let haveAppSystem_Permission =
137
- menuGet?.some((item) => item.name === '应用系统配置') || false;
137
+ menuGet?.some((item) => item.name === '数据源管理') || false;
138
138
  setHaveAppSystemPermission(haveAppSystem_Permission);
139
139
  }
140
140
  })
@@ -283,7 +283,7 @@ const ModuleUser = ({
283
283
  alt=""
284
284
  style={{ marginRight: '10px', marginTop: '-3px' }}
285
285
  />
286
- <span>应用系统配置</span>
286
+ <span>数据源管理</span>
287
287
  </Menu.Item>
288
288
  )}
289
289
  <Menu.Item key="logout" onClick={() => logout()}>