|
@@ -611,7 +611,7 @@ const getScroll = (event?: any, grade?: any) => {
|
|
let scrollHeight = obj.scrollHeight;
|
|
let scrollHeight = obj.scrollHeight;
|
|
let scrollTop = obj.scrollTop;
|
|
let scrollTop = obj.scrollTop;
|
|
let clientHeight = obj.clientHeight;
|
|
let clientHeight = obj.clientHeight;
|
|
- //提前100高度加载数据
|
|
|
|
|
|
+ //提前高度加载数据
|
|
if (scrollTop + clientHeight + 150 >= scrollHeight) {
|
|
if (scrollTop + clientHeight + 150 >= scrollHeight) {
|
|
// console.log('到底了!')
|
|
// console.log('到底了!')
|
|
//继续加载下一页
|
|
//继续加载下一页
|