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

添加一句解决

numberOfLines={1}

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

猜你喜欢

转载自www.cnblogs.com/xx929/p/10282791.html