摘要: https://www.jianshu.com/p/5bd47ab59bbe 主要思路:前台echarts生成图片后,获取base64码,传给后台解析,然后写入freemarker模板,进行下载。 图表生成后,使用 myChart.getDataURL("png")获取base64码,其格式为:"d 阅读全文
posted @ 2020-05-25 13:43 就想来看看 阅读(1642) 评论(0) 推荐(0) 编辑
摘要: 为元素添加on方法 Element.prototype.on = Element.prototype.addEventListener;NodeList.prototype.on = function (event, fn) {、 []['forEach'].call(this, function 阅读全文
posted @ 2020-05-25 11:15 就想来看看 阅读(179) 评论(0) 推荐(0) 编辑