如果对您有帮助,请关注我,欢迎加入微信小程序开发交流QQ群(173683866),有问题可以加群问我或者问群里的大神!!!
{ text: '12测试换\n行符,测试\t空格' }
<
text
>{{text}}
</
text
>
\n 换行
\t 空格
<text decode="{{true}}"> < > & '    </text> text可以识别
如果对您有帮助,请关注我,欢迎加入微信小程序开发交流QQ群(173683866),有问题可以加群问我或者问群里的大神!!!
{ text: '12测试换\n行符,测试\t空格' }
\n 换行
\t 空格
<text decode="{{true}}"> < > & '    </text> text可以识别