module-menu 0.2.13 → 0.2.14

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.13",
3
+ "version": "0.2.14",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -151,7 +151,7 @@ const ModuleMenu = ({ sysName, stash }) => {
151
151
  // 跳转首页
152
152
  const toHomePage = (index) => {
153
153
  if (index === 0) {
154
- window.location.href = '/#/index';
154
+ window.location.href = !stash ? '/#/index' : '/dataadmin/#/index';
155
155
  }
156
156
  };
157
157
  const getNewMenuList = (menuGet) => {