mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 03:46:47 +08:00
二重校验
This commit is contained in:
@@ -549,6 +549,10 @@
|
|||||||
this.taskHasMore = false;
|
this.taskHasMore = false;
|
||||||
this.loadStatus='noMore';
|
this.loadStatus='noMore';
|
||||||
}
|
}
|
||||||
|
if(this.couresList.length == 0){
|
||||||
|
this.taskHasMore = false;
|
||||||
|
this.loadStatus='noMore';
|
||||||
|
}
|
||||||
//检查是否是第一次加载,这里的控制已经移到 初次加载中了
|
//检查是否是第一次加载,这里的控制已经移到 初次加载中了
|
||||||
// if (this.isOne && res.data.records.length == 0) {
|
// if (this.isOne && res.data.records.length == 0) {
|
||||||
// this.tabIndex = 1;
|
// this.tabIndex = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user