优化滚到底部

pull/23/head
陶士涵 3 years ago
parent 65705f6efe
commit ecedda4dd6

@ -264,7 +264,7 @@ new Vue({
} }
content.content = replaceContent(content.content); content.content = replaceContent(content.content);
_this.msgList.push(content); _this.msgList.push(content);
if(_this.msgList.length>=5){ if(_this.msgList.length>=4){
_this.scrollBottom(); _this.scrollBottom();
} }
if(i==0){ if(i==0){

Loading…
Cancel
Save