module-menu 0.0.1 → 0.0.3

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/.umirc.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'umi';
2
-
1
+ // import { defineConfig } from 'umi';
2
+ const {defineConfig} = require('umi');
3
3
  export default defineConfig({
4
4
  nodeModulesTransform: {
5
5
  type: 'none',
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "module-menu",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "城市大数据平台菜单",
5
+ "type": "module",
5
6
  "scripts": {
6
7
  "start": "umi dev",
7
8
  "build": "umi build",
@@ -155,15 +155,15 @@ class ModuleMenu extends Component {
155
155
  thirdPartyServiceJumpPath = "/dataasset/";
156
156
  thirdPartyServiceRootMenuPath = "/dataasset";
157
157
  break;
158
- case "数据共享":
159
- thirdPartyServiceJumpPath = "/datasharing/";
160
- thirdPartyServiceRootMenuPath = "/datasharing";
161
- break;
162
- case "运维中心":
163
- thirdPartyServiceJumpPath = "/operate/";
164
- thirdPartyServiceRootMenuPath = "/operate";
165
- break;
166
- case "数据质量管理":
158
+ // case "数据共享":
159
+ // thirdPartyServiceJumpPath = "/datasharing/";
160
+ // thirdPartyServiceRootMenuPath = "/datasharing";
161
+ // break;
162
+ // case "运维中心":
163
+ // thirdPartyServiceJumpPath = "/operate/";
164
+ // thirdPartyServiceRootMenuPath = "/operate";
165
+ // break;
166
+ case "数据质量管理":
167
167
  thirdPartyServiceJumpPath = "/quality/";
168
168
  thirdPartyServiceRootMenuPath = "/quality/";
169
169
  break;
@@ -177,8 +177,8 @@ class ModuleMenu extends Component {
177
177
  thirdPartyServiceRootMenuPath
178
178
  )
179
179
  ) {
180
- message.warning("您没有权限,请联系管理员添加权限。");
181
- return
180
+ message.warning("您没有权限,请联系管理员添加权限。");
181
+ return
182
182
  }
183
183
  window.location.href = thirdPartyServiceJumpPath
184
184
  }