Commit 99f70346 authored by 华国豪's avatar 华国豪 🙄

保存图片@2

parent 57449b8d
...@@ -671,7 +671,7 @@ ...@@ -671,7 +671,7 @@
image.src = canvas.toDataURL("image/png"); image.src = canvas.toDataURL("image/png");
// document.body.appendChild(image) // document.body.appendChild(image)
let msg = { let msg = {
myfile: image myfile: image.src
} }
this.uploadImg(tcid,msg, res=>{ this.uploadImg(tcid,msg, res=>{
console.log(res) console.log(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment