使用 tml2canvas 方法(该方法想了解的去百度)
base64方法(完整的代码)
function getBase64Image(img: any, width?: any, height?: any) {
var canvas = document.createElement("canvas");
canvas.width = width ? width : img.width;
canvas.height = height ? height : img.height......
查看更多
-
2334
-
zangyuzhou
JavaScript
-
666
-
Icebear
Android
Apple
-
252
-
尖椒土豆sss
Webpack
Vue.js
-
700
-
October_CanYang
JavaScript
Webpack