html2wxml
html2wxml copied to clipboard
QQ小程序img的src节点会自动在链接前加上true
如题,
<viewclass="wxml-p wxml-p wxml-block wxml-block"style="undefined"> <imagebindload="wxmlImgLoad"bindtap="wxmlImgTap"class="wxml-img wxml-img"data-idx="0"data-src="truehttps://xxx.jpg"mode="widthFix"src="truehttps://xxx.jpg"style="width:px;"></image>
会导致显示失败,看了js代码没找到相关处理,是小程序那边的问题吗?
QQ小程序没有进行测试,目前仅应用于微信
解决了,确实是请求商店接口返回值出现的问题,那边不兼容,自己手动把前缀true处理掉就好了,