可以在微信小程序的text标签中用decode=“{{true}}”,就可以直接用 ;加空格了。
<view class="basic-tite">
<text decode="{{true}}">
加空: 格
</text>
</view>
博客介绍了在微信小程序开发中,可在text标签里使用decode=\{{true}}\,从而直接用 ;添加空格,为小程序开发提供了实用技巧。
可以在微信小程序的text标签中用decode=“{{true}}”,就可以直接用 ;加空格了。
<view class="basic-tite">
<text decode="{{true}}">
加空: 格
</text>
</view>
4434
880

被折叠的 条评论
为什么被折叠?
