FileReader在小程序里能用吗
var uploadImage = tempFilePaths;
var reader = new FileReader();
reader.onload = function (e) {
var arrayBuffer = reader.result;
var base64 = wx.arrayBufferToBase64(arrayBuffer)
console.log(“base64===:” + base64);
}