module-menu 0.2.47 → 0.2.48

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.47",
3
+ "version": "0.2.48",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
Binary file
@@ -50,6 +50,11 @@ export const menuList = (stash = '') => [
50
50
  path: "/indicator",
51
51
  url: require('../../assets/dataApp/indicator.png'),
52
52
  },
53
+ {
54
+ childName: "知识图谱",
55
+ path: "/knowledge",
56
+ url: require('../../assets/ic_zhishitupu.png'),
57
+ }
53
58
  ],
54
59
  },
55
60
  {
@@ -133,12 +133,15 @@ const ModuleMenu = ({ sysName, stash = '' }) => {
133
133
  message.error('服务器错误,请稍后重试');
134
134
  });
135
135
  } else {
136
- if (nameStr === '平台运行总览') {
137
- window.open('/dataadmin/#/overview', '_blank');
138
- return;
136
+ if (nameStr === '知识图谱') {
137
+ window.open('http://192.168.113.246:4001', '_blank')
138
+ return
139
139
  }
140
140
  let thirdPartyServiceJumpPath = ''; // 第三方服务跳转路径
141
141
  switch (nameStr) {
142
+ case '平台运行总览':
143
+ window.open('/dataadmin/#/overview', '_blank');
144
+ return;
142
145
  case '数据集成':
143
146
  thirdPartyServiceJumpPath = '/datacollect/';
144
147
  break;