用<image,读取外链图片,https://zspt.farmoer.com/imges/equipment.png,浏览器可以正常打开,开发工具里叶正常加载显示,但是真机调试和预览的时候,就一直加载不出来。
用了一段代码来调用加载成功和失败,发现每次都是加载失败,失败信息是errMsg: "load https://zspt.farmoer.com/imges/equipment.png fail"
<image
src="https://zspt.farmoer.com/imges/equipment.png"
bindload="onBgImageLoad"
binderror="onBgImageError"/>
<image class="logo" src="https://zspt.farmoer.com/imgesEx/CP_CARTOON.png" mode="aspectFit" />

你打开不校验域名试试