html2wxml icon indicating copy to clipboard operation
html2wxml copied to clipboard

QQ小程序img的src节点会自动在链接前加上true

Open SAnBlog opened this issue 5 years ago • 2 comments

如题, <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代码没找到相关处理,是小程序那边的问题吗?

SAnBlog avatar May 20 '20 15:05 SAnBlog

QQ小程序没有进行测试,目前仅应用于微信

qwqoffice avatar May 22 '20 07:05 qwqoffice

解决了,确实是请求商店接口返回值出现的问题,那边不兼容,自己手动把前缀true处理掉就好了,

SAnBlog avatar May 23 '20 03:05 SAnBlog