摘要: 一、安装echarts依赖 npm install echarts -S 二、引入echarts (1)全局引入 main.js import echarts from "echarts"; 然后更改原型链,这样就可以在全局使用通过this.$echarts来全局使用了 Vue.prototype. 阅读全文
posted @ 2018-09-07 10:57 雨筠 阅读(1555) 评论(0) 推荐(0) 编辑