wx.getImageInfo把网络图片下载到本地之后图片无法显示
用getImageInfo把网络图片加载到本地之后,用drawImage方法绘制到画布上依然没有显示图片,并且没有报错
wx.getImageInfo({
src: currentValue.image,
success: function(res) {
maskCanvas.drawImage(res.path,0, 0, currentValue.width * currentValue.scale * prop, currentValue.height * currentValue.scale * prop);
}
});