安卓机在Canvas2d canvas.createImage.onload回调特别慢,是什么原因?
wx.getImageInfo({
src: picpath,
success: (picinfo) => {
img = canvas.createImage();
img.onload = () => {
//此步骤非常缓慢
}
img.src = picpath;
}
})
试过wifi,4G 都非常的慢。