module-menu 0.2.22 → 0.2.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.2.22",
3
+ "version": "0.2.24",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -136,7 +136,7 @@ const ModuleMenu = ({ sysName, stash }) => {
136
136
  thirdPartyServiceJumpPath = '/datasecurity/';
137
137
  break;
138
138
  case '目录管理':
139
- thirdPartyServiceJumpPath = '/admin-ui/catalog/menuClassify/list';
139
+ thirdPartyServiceJumpPath = '/admin-ui/catalog';
140
140
  break;
141
141
  case '资源管理':
142
142
  thirdPartyServiceJumpPath = '/admin-ui/resource/tableResource/list';
@@ -26,7 +26,10 @@ const ModuleUser = ({ stash }) => {
26
26
  };
27
27
  const handleClickSysManage = () => {
28
28
  if (!stash) {
29
- window.location.href = '/#/admin/user/index';
29
+ const menuList = getStore({name: 'menu'});
30
+ const sysManagePath= menuList?.find(item=>item.name === '权限管理').children[0].path
31
+ window.location.href = '/#'+ sysManagePath
32
+ // '/#/admin/user/index';
30
33
  } else {
31
34
  Axios('get', '/admin-api/system/auth/homePage', '', {})
32
35
  .then((res) => {