小程序空格无效&nbps

想要在text下使用空格标签&nbsp时,需要设置decode="true"才可以

<text class="text-tisp" decode="true">需&nbsp;&nbsp;&nbsp;求</text>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章