车辆管理下拉加载bug修复

This commit is contained in:
2023-09-13 11:31:01 +08:00
parent 742d568043
commit 5fd2d21d1f
2 changed files with 6 additions and 8 deletions

View File

@@ -20,7 +20,7 @@
</div>
<van-pull-refresh v-model="isLoading" @refresh="onRefresh">
<van-list
v-model="loading1"
v-model="loading"
:finished="finished"
finished-text="没有更多了"
@load="onLoad"
@@ -76,7 +76,7 @@ export default {
supplierType:'',
count: 0,
isLoading: false,
loading1: false,
loading: false,
finished: false,
permissonList:[],
}
@@ -92,7 +92,7 @@ export default {
await this.getDriverList()
this.pageNum++;
// 加载状态结束
this.loading1 = false;
this.loading = false;
// 数据全部加载完成
if (this.driverList.length >= this.total) {
this.finished = true;