Closed b2nil closed 3 years ago
编译到 h5 和 alipay 后,跑马灯的文字变成了纵向。
在支付宝小程序端,Text 组件的样式被默认设置成了:
Text
.text-no-space { white-spaces: preline; }
应该给 Text 添加 style="white-spaces: nowrap;"
style="white-spaces: nowrap;"
编译到 h5 和 alipay 后,跑马灯的文字变成了纵向。