Loading

摘要: 1 import * as echarts from 'echarts'; 2 3 var chartDom = document.getElementById('main'); 4 var myChart = echarts.init(chartDom); 5 var option; 6 7 // 阅读全文
posted @ 2021-11-26 09:51 请叫我王小胖 阅读(1585) 评论(0) 推荐(0)
摘要: 1. 接口api export function downTemplate(data) { return request({ url: 'bridge/bridegaccidentinfo/download', method: 'get', responseType: "blob", //设置接收数 阅读全文
posted @ 2021-11-26 09:39 请叫我王小胖 阅读(434) 评论(0) 推荐(0)
摘要: function urlToBase64(url) { const img = new Image() img.onload = function () { const canvas = document.createElement('canvas') const ctx = canvas.getC 阅读全文
posted @ 2021-11-26 09:35 请叫我王小胖 阅读(401) 评论(0) 推荐(0)