二重校验

This commit is contained in:
zhangsir
2024-07-02 09:39:33 +08:00
parent ffd0f82fb7
commit 51d186b443

View File

@@ -549,6 +549,10 @@
this.taskHasMore = false;
this.loadStatus='noMore';
}
if(this.couresList.length == 0){
this.taskHasMore = false;
this.loadStatus='noMore';
}
//检查是否是第一次加载,这里的控制已经移到 初次加载中了
// if (this.isOne && res.data.records.length == 0) {
// this.tabIndex = 1;