小程序空格無效&nbps

想要在text下使用空格標籤&nbsp時,需要設置decode="true"纔可以

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

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