diff --git a/package.json b/package.json index 658aeb4..5e7c005 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "animate.css": "^3.7.2", "axios": "0.18.0", "babel-polyfill": "^6.26.0", - "echarts": "^4.2.1", + "echarts": "^5.0.0", "element-ui": "2.13.0", "event-source-polyfill": "^1.0.5", "js-cookie": "2.2.0", diff --git a/package.json b/package.json index 658aeb4..5e7c005 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "animate.css": "^3.7.2", "axios": "0.18.0", "babel-polyfill": "^6.26.0", - "echarts": "^4.2.1", + "echarts": "^5.0.0", "element-ui": "2.13.0", "event-source-polyfill": "^1.0.5", "js-cookie": "2.2.0", diff --git a/src/main.js b/src/main.js index 30e1696..27566d4 100644 --- a/src/main.js +++ b/src/main.js @@ -16,7 +16,7 @@ import 'leaflet.pm' import 'leaflet.pm/dist/leaflet.pm.css' import 'leaflet-rotatedmarker/leaflet.rotatedMarker.js' -import echarts from 'echarts' +import * as echarts from 'echarts' Vue.prototype.$echarts = echarts Vue.config.productionTip = false Vue.L = Vue.prototype.$L = L diff --git a/package.json b/package.json index 658aeb4..5e7c005 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "animate.css": "^3.7.2", "axios": "0.18.0", "babel-polyfill": "^6.26.0", - "echarts": "^4.2.1", + "echarts": "^5.0.0", "element-ui": "2.13.0", "event-source-polyfill": "^1.0.5", "js-cookie": "2.2.0", diff --git a/src/main.js b/src/main.js index 30e1696..27566d4 100644 --- a/src/main.js +++ b/src/main.js @@ -16,7 +16,7 @@ import 'leaflet.pm' import 'leaflet.pm/dist/leaflet.pm.css' import 'leaflet-rotatedmarker/leaflet.rotatedMarker.js' -import echarts from 'echarts' +import * as echarts from 'echarts' Vue.prototype.$echarts = echarts Vue.config.productionTip = false Vue.L = Vue.prototype.$L = L diff --git a/src/router/index.js b/src/router/index.js index 348a602..506b8af 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -65,6 +65,6 @@ // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ ...carRouters, - ...systemRouters, + // ...systemRouters, { path: '*', redirect: '/404', hidden: true } ]