From 9fbfa463a752e191d4f3b852f6dab55b60f76124 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Fri, 19 Jul 2024 14:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E6=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/study/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/study/index.vue b/pages/study/index.vue index 44fb916..f511c21 100644 --- a/pages/study/index.vue +++ b/pages/study/index.vue @@ -799,6 +799,7 @@ apiManage.userTaskList(params).then(res => { if(res.code==200){ + console.log(res.data,'res.data') res.data.records.forEach(r=>{ //r.cmtask_imgurl='/upload/static/images/course/courseDefault.png'; if (r.cmtask_imgurl && r.cmtask_imgurl.startsWith('/upload')) { @@ -806,6 +807,7 @@ } // console.log('aaa='+r.cmtask_imgurl); }) + console.log(res,'res') this.taskCount = parseInt(res.data.total); this.couresList.push(...res.data.records); // if(Object.keys(this.detailData).length&&this.detailData.growName.includes(this.loadkeyword)&&(this.boeStatus===''||this.detailData.studyStatus==this.boeStatus)){ @@ -822,6 +824,7 @@ this.taskHasMore = false; this.loadStatus='noMore'; } + console.log('这里将进行取消加载') //检查是否是第一次加载,这里的控制已经移到 初次加载中了 // if (this.isOne && res.data.records.length == 0) { // this.tabIndex = 1;