From 51d186b443830826d1ec56c84793b53063628511 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 2 Jul 2024 09:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E9=87=8D=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/study/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/study/index.vue b/pages/study/index.vue index 358a1cc..3155d0c 100644 --- a/pages/study/index.vue +++ b/pages/study/index.vue @@ -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;