Closed ghost closed 6 years ago
小程序本来就不支持 这种标签的
在text里面 decode=“true”的情况下是可以解析 https://mp.weixin.qq.com/debug/wxadoc/dev/component/text.html
哦,这个特性目前还没支持呢,后续我们支持一下
We've fixed this problem and published it to npm. You can use the following command to upgrade your cli and try it again, thanks for your feedback.
npm i -g hera-cli
哦,这个特性目前还没支持呢,后续我们支持一下
官网文档不是可以的么? https://developers.weixin.qq.com/miniprogram/dev/component/text.html
加上属性就ok了 Tips decode可以解析的有 < > & ' 各个操作系统的空格标准并不一致。
小程序text标签里面的 ,在iOS模拟器直接显示“ ”字符串