Vue中echarts的使用将接口返回的数据渲染出来
vue项目中使用echarts:1.安装依赖yarn add echarts -S2.文件中引入echarts (所有图表)import * as echarts from 'echarts'3.hello.vue组件<div id="myChart" :style="{width: '100%', height: '380px'}"></div>export default { data() { return { ...
原创
2022-04-23 18:23:53 ·
3657 阅读 ·
1 评论