module-menu 0.1.1 → 0.1.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/package.json +12 -9
- package/src/.umi/.cache/babel-loader/02cfe11a66394efe58e92b7d1cda45a7.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/0d267885511cdeb2f746b2478c358eaa.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/0f0df34cf46b65ad31bdc2a789116dbb.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/1093f5a3a36dc99f50819445b9658d6c.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/180cf61f1d49ff06c6e087cf00ffbf3b.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/28b40b7780b2e31119c079d1eef2605d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/340fdff8d0a4e5873b3df99691b99078.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/4b25c148ce56d5bb9f2a4f2894c0139e.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/4b394875c60ca6059a35653471b95eb4.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/4e1bf816ced8899745cd7b53d7fdb65e.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/4e5e519af7c9bd419856bffeef8a0a8c.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/58c9fc7df6a7a323e69bad032df885de.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/8410469e6d5bb3dbac8a9f15f8c194fc.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/863e4077c275e0de32002c84622698c3.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/927843728c76f134227aaa64d2f78ba4.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/940dda92ce773f61c2e676012aa2ef3d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/9ddf6ed639a2b290a9dd044139cb8eba.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/aa9f6419edbb2c32db83680d7173934e.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/ab02adf25d1b0d91e4b6d3da7ac4fa89.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/c7f63a05a44ecd16d636741249b3d3ec.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/cc0baa340a4a69d66f6605fbf6d8cdba.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d06553bd4e00b8c09e7486168ec62e94.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d3c24622031e83e1de73bce32eeaa8b0.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/f0a27132d262c94655f195c1cdc949fa.json.gz +0 -0
- package/src/.umi/core/history.ts +1 -1
- package/src/.umi/core/plugin.ts +1 -1
- package/src/.umi/core/routes.ts +1 -1
- package/src/.umi/plugin-helmet/exports.ts +1 -1
- package/src/.umi/plugin-model/Provider.tsx +1 -1
- package/src/.umi/plugin-model/useModel.tsx +1 -1
- package/src/.umi/plugin-request/request.ts +4 -4
- package/src/.umi/umi.ts +2 -2
- package/src/pages/index.less +34 -23
- package/src/.umi/.cache/babel-loader/006cd391c2d71e6cf49cff32a7d7e7ea.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/03284ae7112fac4df41a59399f35eb71.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/0338b3888dd146dd07b8a2dadae22515.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/046a6f14bf358d879b171cc3fd01a7f1.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/06653d4063f1fa0a78dbe664c4d942a2.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/06d0fe56df444f975b92ef13f83ac9dc.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/07946a12d045541a6da81e832a157386.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/098a5cfe0e14aa583144c71244bbaf0d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/0bd5919b2a2a3a6672ace3392d7b54c7.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/0e803b5601d075064d8a5641f3170e96.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/1442bb8085d75aace84c47184037ee95.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/18c838bdac254bbf1beb7712f133cc5d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/205f69591df1adc59d31d7d316807079.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/207aedf3f20ffcb46971f059f764a937.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/21bf22a0f74efaed9c74cc4affccdb03.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/2cd50d901ae2e761fb8b68217d063338.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/2d229db1056434d82e241d47a7cb0019.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/31ec5214ed0e837a88908074a704a9f2.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/3516c56d068efdb601a4ab92380d0d8d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/38fe4fe93f78903424446b2670dd881a.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/3c68d1331943fa9728a907595666f07e.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/3f4c30e441ca71253594a5f549c83e5d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/3fa050f4121950e0c8fbed0a7a17f949.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/43a5d580c6a2da6134a17edcf7b87084.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/49df2c271b8c26be9fa63c2f08a39e1c.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/49e42f927f0dfd4fbf356621b462907d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/519c1e6e8b80823d319520282883d39a.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/5c100893e49bb4efeb051d923f32e423.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/5e0b4502b7ceb437bf7f27f9e95d297a.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/5e7949d3b58decc79a0edfe0d7e4c8c9.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/5fd00a980e83fad309c4ffe18acd445e.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/61996ca5ddd9a40ea57e9b8e8208c140.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/62134e23705254446f29c84b5db350c4.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/6432db849c9ee59480c90f5c482cd5b2.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/658d7adb4f4e9d7cb3db5066f2519f56.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/6ddf93f0a388c458b2625d756c2db343.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/6f45db40796a8803ac6312b4857f27ec.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/77b6cd8f61f66fa2458792503a65eb37.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/7944475811983ddaa4b770f627624e0d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/7b4983c7428750b20c354ecb1cc6226f.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/85c1f7c86d92940fa620b83221c3308b.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/88b299cd1184db10195e72bb7d98b152.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/9063d2c47eb5e0bb594120f8f5c68195.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/91e8bfec8fe860c1bb34175291c89984.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/92928bbbb76c0e98cfac0f18fd57f944.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/97775925a6d686cc65b6881088b6aaa4.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/ac1120025ed179b467390d0571cf7458.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/b3c7cec78f9f5d89bad744a7925088f5.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/bf21c0e0aef3bca337d64052aac542ae.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/c1e4065a5c16bb60e0dad17fd17e4d21.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/c21f0a9cfaa9c2508ff66278ae805cec.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/c5f25455f80accb4389a63e966193658.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/ca6ee733d6717db7fdca16d74303b505.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/ca9f2f7ba4ddf43250e857bb72d09844.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d5cec1443884c84dea19b626dff4a130.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d6766af37348eff45bd00811479caa5d.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d7d65bbebb7d2a6933b8994ed54ba1f4.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d8e03990d8e0f543ddd2c8b7c1986b6e.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/d94d2cccf8876adaf96c9792ae1604d7.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/e76ddc963361774c561993f62f13cd1c.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/ead72363425c1c628f2e2ef38aff6274.json.gz +0 -0
- package/src/.umi/.cache/babel-loader/f51381c1c72497b2501b84bb197f1317.json.gz +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "module-menu",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "城市大数据平台菜单",
|
|
5
|
+
"main":"src/pages/index.jsx",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"start": "umi dev",
|
|
7
8
|
"build": "umi build",
|
|
@@ -14,6 +15,8 @@
|
|
|
14
15
|
"pre-commit": "lint-staged"
|
|
15
16
|
},
|
|
16
17
|
"lint-staged": {
|
|
18
|
+
"**/*.less": "stylelint --syntax less",
|
|
19
|
+
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
|
|
17
20
|
"*.{js,jsx,less,md,json}": [
|
|
18
21
|
"prettier --write"
|
|
19
22
|
],
|
|
@@ -23,19 +26,19 @@
|
|
|
23
26
|
},
|
|
24
27
|
"dependencies": {
|
|
25
28
|
"@ant-design/pro-layout": "^6.5.0",
|
|
26
|
-
"antd": "^
|
|
27
|
-
"react": "17.
|
|
28
|
-
"react-dom": "17.
|
|
29
|
-
"umi": "^3.5.
|
|
29
|
+
"antd": "^4.17.0",
|
|
30
|
+
"react": "^17.0.0",
|
|
31
|
+
"react-dom": "^17.0.0",
|
|
32
|
+
"umi": "^3.5.0"
|
|
30
33
|
},
|
|
31
34
|
"devDependencies": {
|
|
32
35
|
"@types/react": "^17.0.0",
|
|
33
36
|
"@types/react-dom": "^17.0.0",
|
|
34
|
-
"@umijs/preset-react": "1.
|
|
37
|
+
"@umijs/preset-react": "^1.8.17",
|
|
35
38
|
"@umijs/test": "^3.5.41",
|
|
36
|
-
"lint-staged": "^10.0.
|
|
37
|
-
"prettier": "^2.2
|
|
38
|
-
"typescript": "^4.
|
|
39
|
+
"lint-staged": "^10.0.0",
|
|
40
|
+
"prettier": "^2.3.2",
|
|
41
|
+
"typescript": "^4.2.2",
|
|
39
42
|
"yorkie": "^2.0.0"
|
|
40
43
|
}
|
|
41
44
|
}
|
package/src/.umi/core/history.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { createBrowserHistory, History } from 'D:/
|
|
2
|
+
import { createBrowserHistory, History } from 'D:/3_NewGitPro/module-menu/node_modules/umi/node_modules/@umijs/runtime';
|
|
3
3
|
|
|
4
4
|
let options = {
|
|
5
5
|
"basename": "/"
|
package/src/.umi/core/plugin.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Plugin } from 'D:/
|
|
2
|
+
import { Plugin } from 'D:/3_NewGitPro/module-menu/node_modules/umi/node_modules/@umijs/runtime';
|
|
3
3
|
|
|
4
4
|
const plugin = new Plugin({
|
|
5
5
|
validKeys: ['modifyClientRenderOpts','patchRoutes','rootContainer','render','onRouteChange','__mfsu','getInitialState','initialStateConfig','request',],
|
package/src/.umi/core/routes.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ApplyPluginsType } from 'D:/
|
|
3
|
+
import { ApplyPluginsType } from 'D:/3_NewGitPro/module-menu/node_modules/umi/node_modules/@umijs/runtime';
|
|
4
4
|
import * as umiExports from './umiExports';
|
|
5
5
|
import { plugin } from './plugin';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import initialState from 'D:/
|
|
3
|
+
import initialState from 'D:/3_NewGitPro/module-menu/src/.umi/plugin-initial-state/models/initialState';
|
|
4
4
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
import Dispatcher from './helpers/dispatcher';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { useState, useEffect, useContext, useRef } from 'react';
|
|
3
3
|
// @ts-ignore
|
|
4
|
-
import isEqual from 'D:/
|
|
4
|
+
import isEqual from 'D:/3_NewGitPro/module-menu/node_modules/@umijs/plugin-model/node_modules/fast-deep-equal/index.js';
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
import { UmiContext } from './helpers/constant';
|
|
7
7
|
import { Model, models } from './Provider';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
/**
|
|
3
|
-
* Base on https://github.com/umijs/D:/
|
|
3
|
+
* Base on https://github.com/umijs/D:/3_NewGitPro/module-menu/node_modules/umi-request
|
|
4
4
|
*/
|
|
5
5
|
import {
|
|
6
6
|
extend,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
RequestResponse,
|
|
14
14
|
RequestInterceptor,
|
|
15
15
|
ResponseInterceptor,
|
|
16
|
-
} from 'D:/
|
|
16
|
+
} from 'D:/3_NewGitPro/module-menu/node_modules/umi-request';
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
|
|
19
19
|
import { ApplyPluginsType } from 'umi';
|
|
@@ -22,7 +22,7 @@ import { history, plugin } from '../core/umiExports';
|
|
|
22
22
|
// decoupling with antd UI library, you can using `alias` modify the ui methods
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { message, notification } from '@umijs/plugin-request/lib/ui';
|
|
25
|
-
import useUmiRequest, { UseRequestProvider } from 'D:/
|
|
25
|
+
import useUmiRequest, { UseRequestProvider } from 'D:/3_NewGitPro/module-menu/node_modules/@ahooksjs/use-request';
|
|
26
26
|
import {
|
|
27
27
|
BaseOptions,
|
|
28
28
|
BasePaginatedOptions,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
PaginatedOptionsWithFormat,
|
|
39
39
|
PaginatedParams,
|
|
40
40
|
PaginatedResult,
|
|
41
|
-
} from 'D:/
|
|
41
|
+
} from 'D:/3_NewGitPro/module-menu/node_modules/@ahooksjs/use-request/lib/types';
|
|
42
42
|
|
|
43
43
|
type ResultWithData<T = any> = { data?: T; [key: string]: any };
|
|
44
44
|
|
package/src/.umi/umi.ts
CHANGED
|
@@ -4,8 +4,8 @@ import '@@/core/devScripts';
|
|
|
4
4
|
import { plugin } from './core/plugin';
|
|
5
5
|
import './core/pluginRegister';
|
|
6
6
|
import { createHistory } from './core/history';
|
|
7
|
-
import { ApplyPluginsType } from 'D:/
|
|
8
|
-
import { renderClient } from 'D:/
|
|
7
|
+
import { ApplyPluginsType } from 'D:/3_NewGitPro/module-menu/node_modules/umi/node_modules/@umijs/runtime';
|
|
8
|
+
import { renderClient } from 'D:/3_NewGitPro/module-menu/node_modules/@umijs/renderer-react/dist/index.js';
|
|
9
9
|
import { getRoutes } from './core/routes';
|
|
10
10
|
|
|
11
11
|
|
package/src/pages/index.less
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
.popupCss {
|
|
2
|
+
.ant-popconfirm .ant-popconfirm-buttons {
|
|
3
|
+
display: none !important;
|
|
4
|
+
}
|
|
5
|
+
.ant-popover-placement-rightTop .ant-popover-arrow {
|
|
6
|
+
display: none !important;
|
|
7
|
+
}
|
|
8
|
+
.ant-popconfirm .ant-popconfirm-message {
|
|
9
|
+
margin-bottom: 0px;
|
|
10
|
+
}
|
|
11
|
+
.ant-popconfirm .ant-popconfirm-message {
|
|
12
|
+
width: 650px;
|
|
13
|
+
}
|
|
14
|
+
.ant-popover .ant-popover-inner {
|
|
15
|
+
border-radius: 0px;
|
|
16
|
+
}
|
|
17
|
+
.ant-popover {
|
|
18
|
+
margin-left: 38px !important;
|
|
19
|
+
left: 0px !important;
|
|
20
|
+
}
|
|
21
|
+
.ant-popover-buttons{
|
|
22
|
+
bottom: 0px !important;
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
.ant-popover-message{
|
|
26
|
+
padding: 0px !important;
|
|
27
|
+
}
|
|
12
28
|
}
|
|
29
|
+
|
|
13
30
|
.cardLine{
|
|
14
31
|
height: 60px;
|
|
15
32
|
padding: 5px 0px;
|
|
@@ -23,8 +40,7 @@
|
|
|
23
40
|
.leftMenu{
|
|
24
41
|
width: 100px;
|
|
25
42
|
height: 60px;
|
|
26
|
-
|
|
27
|
-
line-height: 60px;
|
|
43
|
+
line-height: 55px;
|
|
28
44
|
float: left;
|
|
29
45
|
color: rgba(0, 0, 0, 0.85);
|
|
30
46
|
font-size: 16px;
|
|
@@ -45,25 +61,20 @@
|
|
|
45
61
|
color: #4091F7;
|
|
46
62
|
}
|
|
47
63
|
.childMenu{
|
|
48
|
-
width:
|
|
64
|
+
width: 29%;
|
|
49
65
|
display: inline-block;
|
|
50
66
|
padding-top: 15px;
|
|
51
67
|
}
|
|
52
68
|
.middle{
|
|
53
69
|
vertical-align: middle;
|
|
54
70
|
}
|
|
71
|
+
.middle:hover{
|
|
72
|
+
color: #4091F7;
|
|
73
|
+
}
|
|
55
74
|
.menuIcon{
|
|
56
|
-
width: 60px;
|
|
57
|
-
height: 50px;
|
|
58
75
|
text-align: center;
|
|
59
76
|
display: inline-block;
|
|
60
|
-
line-height: 67px;
|
|
61
77
|
cursor: pointer;
|
|
78
|
+
padding: 10px;
|
|
62
79
|
background-color: #4091F7;
|
|
63
|
-
}
|
|
64
|
-
.ant-popover .ant-popover-inner {
|
|
65
|
-
border-radius: 0px;
|
|
66
|
-
}
|
|
67
|
-
.ant-popover {
|
|
68
|
-
left: 69px !important;
|
|
69
80
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|