1、:immediate-check="false"
<van-list
:immediate-check="immediate"
v-model="loadingTask"
:finished="finishedTask"
:finished-text="task_list.length > 0 ? '沒有更多了' : ''"
@load="onLoadTask"
></van-list>
:immediate-check="false"
2、如果加上第一個條件還不行,在list上加上高度height:420px; overflow: scroll;
<van-list style="height:420px; overflow: scroll;"
:immediate-check="immediate"
v-model="loadingP"
:finished="finishedP"
:finished-text="project_list.length > 0 ? '沒有更多了' : '暫無數據'"
@load="onLoadR"
offset="10"
>
</van-list>