module-menu 0.1.34 → 0.1.35

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.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -95,7 +95,7 @@ export const menuList = [
95
95
  },
96
96
  {
97
97
  childName: '系统管理',
98
- path: '/',
98
+ path: '/#/admin/user/index',
99
99
  url: require('../../assets/admin_slogo.svg'),
100
100
  },
101
101
  {
@@ -147,7 +147,7 @@ const ModuleMenu = ({ sysName }) => {
147
147
  // 跳转首页
148
148
  const toHomePage = (index) => {
149
149
  if (index === 0) {
150
- window.location.href = '/#/index';
150
+ window.location.href = '/index';
151
151
  }
152
152
  };
153
153
  const getNewMenuList = () => {
@@ -63,7 +63,10 @@ const ModuleUser = () => {
63
63
  <span>个人中心</span>
64
64
  </Menu.Item>
65
65
  {isHaveSystemManagementPermission && (
66
- <Menu.Item key="systemManage" onClick={() => handleClickmenu('/')}>
66
+ <Menu.Item
67
+ key="systemManage"
68
+ onClick={() => handleClickmenu('/#/admin/user/index')}
69
+ >
67
70
  <img
68
71
  src={SystemManageSrc}
69
72
  alt=""