uniapp中使用图片网络路径使用不了解决方法:
使用uni.getImageInfo()调用一下网络路径使用临时路径图片可以使用;
uni.getImageInfo({
src: this.merchantInfo.cdn_static +
'statistics/luckDrawImg/scratchcard/scratchingBefore.png',
success: (res) => {
this.filePath = res.path;
this.drawInit();
}
})