摘要: vue导入Echarts 安装Echarts npm install echarts --save // 或 yarn add echarts --save 在main.js中全部引用(全局引用) import echarts form 'echarts' vue.prototype.$echart 阅读全文
posted @ 2022-03-18 11:27 snail-2018 阅读(69) 评论(0) 推荐(0)
摘要: Eacharts 使用 创建 const myChart = this.$echarts.init(document.getElementById('myChart')) // 调用showLoading方法 myChart.showLoading({ text: '加载中...', color: 阅读全文
posted @ 2022-03-18 11:10 snail-2018 阅读(74) 评论(0) 推荐(0)