problem description
after I take a picture with my mobile phone (the byte length is about 50000 if I transfer to base64 directly), mark it with canvas, save it as a picture, then find that the picture has become so big, and use the Wechat interface to compress the picture. After that, I debug with the real machine, upload the picture (loop, and then transfer the picture to base64 and then upload it (the byte length before and after compression has not changed, about 400000 of the length), and then the real machine debugging is immediately disconnected and does not start uploading at all. Excuse me, guys, what"s going on?
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)