点滚动到底部而不请求分页数据?检查完成值是否设置正确。finished值设置正确,分页正常。但是在页面刚加载的时候,会多次调用van-list的load方法,请求所有的数据?设置:immediate-check="false"可以,上面的设置都设置了,但是还是一次加载所有数据?查看外容器是否设置了overflow-y:auto;,去掉就ok了。实践与解释//html:immediate-check="false"finished-text="Nomore"@load="onLoad"<---这是我自己封装的自定义组件--->//jscreated(){this.onLoad();//因为immediate-check=设置为“false”所以加载页面后,手动调用第一个onLoad方法},onRefresh(){//清空列表数据this.finished=false;//重置页面this.pageParams.pageNo=0;这个.pageParams.pageSize=10;//重置列表this.records=[];//重新加载数据//将loading设置为true,表示处于loading状态this.loading=true;this.onLoad();},asynconLoad(){if(this.refreshing){this.refreshing=false;}this.pageParams.pageNo++;等待这个.queryTaskOrderList();this.loading=false;},asyncqueryTaskOrderList(){try{constparams={...this.pageParams,};constapiName="nptTaskPageByCurrentUser";const{data:{records,total},}=awaitapi.req(params,apiName);this.records=this.records.concat(记录);//在这里更改列表this.finished=this.records.length>=total//就这样!finished在请求完所有数据时设置为true,否则为false}catch(error){console.log("获取任务工单列表失败",error);this.finished=true//在这里!发生错误时,必须设置为true,否则会一直请求}},