-(void)reloadDataWithText:(NSString *)text{
[self.chatMsgs addObject:text];
[self.tableView reloadData];
// 数据多,应该往上滚动
NSIndexPath *lastPath = [NSIndexPath indexPathForRow:self.chatMsgs.count - 1 inSection:0];
[self.tableView scrollToRowAtIndexPath:lastPath atScrollPosition:UITableViewScrollPositionBottom animated:YES];
}