fix vue-echarts bug

This commit is contained in:
vue-admin-beautiful.com 2021-06-29 18:52:55 +08:00
parent a7d551711f
commit 2f8ff389d2
2 changed files with 9 additions and 17 deletions

View File

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

View File

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