摘要:
1 function fileUpload() { 2 var formData = new FormData(); 3 formData.append("param1", "参数1"); 4 formData.append("param2", "参数2"); 5 formData.append(" 阅读全文
摘要:
1 // canvas转dataURL:canvas对象、转换格式、图像品质 2 function canvasToDataURL(canvas, format, quality){ 3 return canvas.toDataURL(format||'image/jpeg', quality||1 阅读全文