react native text显示过长后......

添加一句解决

 

numberOfLines={1}

  里面是数字是代表行数,你想显示几行就弄几

posted @ 2019-01-17 16:07  包子不包子  阅读(1073)  评论(0编辑  收藏  举报