提交 8bad3dc8 编写于 作者: guangjun.yang's avatar guangjun.yang

上翻页有问题

上级 db9abf36
......@@ -185,14 +185,16 @@ export default {
arr = this.dataconcatHandle(res.data.reverse());
this.detailData.unshift(...arr);
this.$forceUpdate();
if(param == 1) {
this.$nextTick( () => {
setTimeout(() => {
let el = this.getElmByID('scroll-set');
if(param == 1) {
el.scrollTop = 20000;
} else {
el.scrollTop = 500;
}
}, 50);
})
}
}else {
this.hasHistoryData = false;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册