@@ -5376,11 +5376,12 @@
}
},
"echarts": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/echarts/-/echarts-4.9.0.tgz",
- "integrity": "sha512-+ugizgtJ+KmsJyyDPxaw2Br5FqzuBnyOWwcxPKO6y0gc5caYcfnEUIlNStx02necw8jmKmTafmpHhGo4XDtEIA==",
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.1.0.tgz",
+ "integrity": "sha512-/X2nnN5BXW2tuA/Hv9YY279rDfwcXaBAjK9Azi//llshbKyUXXxBknsug21GJRpwTmLZbE8rjjbhchdm01bZtw==",
"requires": {
- "zrender": "4.3.2"
+ "tslib": "2.0.3",
+ "zrender": "5.1.0"
"ee-first": {
@@ -12704,6 +12705,11 @@
"integrity": "sha1-pQCtCEsHmPHDBxrzkeZZEshrypI=",
"dev": true
+ "tslib": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ=="
+ },
"tty-browserify": {
"version": "0.0.0",
"resolved": "https://registry.npm.taobao.org/tty-browserify/download/tty-browserify-0.0.0.tgz",
@@ -14203,9 +14209,12 @@
"zrender": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/zrender/-/zrender-4.3.2.tgz",
- "integrity": "sha512-bIusJLS8c4DkIcdiK+s13HiQ/zjQQVgpNohtd8d94Y2DnJqgM1yjh/jpDb8DoL6hd7r8Awagw8e3qK/oLaWr3g=="
+ "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.1.0.tgz",
+ "integrity": "sha512-c+8VRx52ycbmqwHeHLlo/BAfIHBl/JZNLM6cfDQFgzIH05yb+f5J9F/fbRsP+zGc8dW9XHuhdt8/iqukgMZSeg==",
+ "requires": {
+ "tslib": "2.0.3"
+ }
@@ -12,7 +12,7 @@
"axios": "^0.21.1",
"core-js": "^3.6.5",
"crypto-js": "^4.0.0",
- "echarts": "^4.9.0",
+ "echarts": "^5.1.0",
"element-ui": "^2.15.1",
"stompjs": "^2.3.3",
"uglifyjs-webpack-plugin": "^2.2.0",
@@ -1,4 +1,4 @@
-import EC from 'echarts';
+import * as EC from 'echarts';
import { Message } from 'element-ui';
import BASE from '@tools/base';
const color = ["#014EB5", "#A800FF", "#e82edb", "#B5454C", "#443bff", "#e8cb25", "#3dffb0", "#e8a425", "#ff7aab", "#e84b1e", "#552ce2", "#ffae21", "#e8861e", "#d441ff", "#35e8e4", "#9c7aff", "#e86fd8", "#ffee38"];