Browse Source

fix vue-echarts bug

vue-admin-beautiful.com 3 years ago
parent
commit
2f8ff389d2
2 changed files with 9 additions and 17 deletions
  1. 7 7
      package.json
  2. 2 10
      src/views/index/index.vue

+ 7 - 7
package.json

@@ -20,7 +20,7 @@
     "image-webpack-loader": "cnpm i image-webpack-loader -D",
     "use:npm": "nrm use npm",
     "use:taobao": "nrm use taobao",
-    "update": "ncu -u --reject sass-loader,sass,vue-echarts&&cnpm i",
+    "update": "ncu -u --reject sass-loader,sass&&cnpm i",
     "update:globle": "ncu -g --concurrency 10 --timeout 80000",
     "push": "start ./push.sh",
     "deploy": "start ./deploy.sh"
@@ -44,8 +44,7 @@
     "core-js": "^3.15.1",
     "dayjs": "^1.10.5",
     "echarts": "^5.1.2",
-    "echarts-wordcloud": "^2.0.0",
-    "element-ui": "^2.15.2",
+    "element-ui": "^2.15.3",
     "jsencrypt": "^3.2.0",
     "lodash": "^4.17.21",
     "maptalks": "^0.49.4",
@@ -57,7 +56,7 @@
     "sortablejs": "^1.13.0",
     "vab-icon": "^0.0.1",
     "vue": "^2.6.14",
-    "vue-echarts": "5.0.0-beta.0",
+    "vue-echarts": "6.0.0-rc.6",
     "vue-router": "^3.5.2",
     "vuex": "^3.6.2",
     "zx-count": "^0.3.7",
@@ -73,6 +72,7 @@
     "@vue/cli-plugin-babel": "^4.5.13",
     "@vue/cli-plugin-eslint": "^4.5.13",
     "@vue/cli-service": "^4.5.13",
+    "@vue/composition-api": "^1.0.0-rc.12",
     "@vue/eslint-config-prettier": "^6.0.0",
     "babel-eslint": "^10.1.0",
     "body-parser": "^1.19.0",
@@ -80,12 +80,12 @@
     "chokidar": "^3.5.2",
     "eslint": "^7.29.0",
     "eslint-plugin-prettier": "^3.4.0",
-    "eslint-plugin-vue": "^7.11.1",
-    "filemanager-webpack-plugin": "^5.0.0",
+    "eslint-plugin-vue": "^7.12.1",
+    "filemanager-webpack-plugin": "^6.1.4",
     "image-webpack-loader": "^7.0.1",
     "lint-staged": "^11.0.0",
     "plop": "^2.7.4",
-    "prettier": "^2.3.1",
+    "prettier": "^2.3.2",
     "sass": "~1.32.13",
     "sass-loader": "^10.1.1",
     "stylelint": "^13.13.1",

+ 2 - 10
src/views/index/index.vue

@@ -24,11 +24,7 @@
           <div slot="header">
             <span>访问量</span>
           </div>
-          <vab-chart
-            :autoresize="true"
-            theme="vab-echarts-theme"
-            :options="fwl"
-          />
+          <vab-chart auto-resize theme="vab-echarts-theme" :option="fwl" />
           <div class="bottom">
             <span>
               日均访问量:
@@ -51,11 +47,7 @@
           <div slot="header">
             <span>授权数</span>
           </div>
-          <vab-chart
-            :autoresize="true"
-            theme="vab-echarts-theme"
-            :options="sqs"
-          />
+          <vab-chart auto-resize theme="vab-echarts-theme" :option="sqs" />
           <div class="bottom">
             <span>
               总授权数: