2019年4月27日

ECharts使用:this.dom.getContext is not a function

摘要: echarts 画图报错 this.dom.getContext is not a function; 原因:因为在初始化echarts的时候,echarts.js规定只能使用dom原生方法获取标签,即document.getElementById('main'); 错误写法: 正确写法: 阅读全文

posted @ 2019-04-27 13:30 果然朝辉 阅读(6298) 评论(0) 推荐(1) 编辑

导航