Authored by 郝肖肖

seddTime is undefined

... ... @@ -728,11 +728,11 @@ function pageInit() {
msgList = msgList.reverse();
len = msgList.length;
if (endTime === msgList[0].sendTime) {
if (msgList[0] && endTime === msgList[0].sendTime) {
hasMore = false;
}
endTime = msgList[0].sendTime;
endTime = msgList[0] && msgList[0].sendTime;
if (hasMore) {
for (i = 0; i < len; i++) {
... ...