From 53813a4e5c1cbafdf9c2184337fb86be1de6a266 Mon Sep 17 00:00:00 2001 From: chuzhixin <1204505056@qq.com> Date: Wed, 24 Feb 2021 20:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8fixed:=20echarts=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/plugins/echarts.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0c529a5..d931ebd 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "dayjs": "^1.10.4", "echarts": "^5.0.2", "echarts-wordcloud": "^2.0.0", - "element-ui": "^2.15.0", + "element-ui": "^2.15.1", "jsencrypt": "^3.0.1", "lodash": "^4.17.21", "maptalks": "^0.49.1", @@ -56,7 +56,7 @@ "screenfull": "^5.1.0", "vab-icon": "^0.0.1", "vue": "^2.6.12", - "vue-echarts": "^6.0.0-alpha.3", + "vue-echarts": "5.0.0-beta.0", "vue-router": "^3.5.1", "vuex": "^3.6.2", "zx-count": "^0.3.7", diff --git a/src/plugins/echarts.js b/src/plugins/echarts.js index c78285f..f600f83 100644 --- a/src/plugins/echarts.js +++ b/src/plugins/echarts.js @@ -1,5 +1,4 @@ -import * as echarts from 'echarts' +import 'echarts' import VabChart from 'vue-echarts' -VabChart.graphic = echarts.graphic export default VabChart