mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-15 22:06:46 +08:00
排查问题
This commit is contained in:
@@ -799,6 +799,7 @@
|
|||||||
|
|
||||||
apiManage.userTaskList(params).then(res => {
|
apiManage.userTaskList(params).then(res => {
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
|
console.log(res.data,'res.data')
|
||||||
res.data.records.forEach(r=>{
|
res.data.records.forEach(r=>{
|
||||||
//r.cmtask_imgurl='/upload/static/images/course/courseDefault.png';
|
//r.cmtask_imgurl='/upload/static/images/course/courseDefault.png';
|
||||||
if (r.cmtask_imgurl && r.cmtask_imgurl.startsWith('/upload')) {
|
if (r.cmtask_imgurl && r.cmtask_imgurl.startsWith('/upload')) {
|
||||||
@@ -806,6 +807,7 @@
|
|||||||
}
|
}
|
||||||
// console.log('aaa='+r.cmtask_imgurl);
|
// console.log('aaa='+r.cmtask_imgurl);
|
||||||
})
|
})
|
||||||
|
console.log(res,'res')
|
||||||
this.taskCount = parseInt(res.data.total);
|
this.taskCount = parseInt(res.data.total);
|
||||||
this.couresList.push(...res.data.records);
|
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)){
|
// 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.taskHasMore = false;
|
||||||
this.loadStatus='noMore';
|
this.loadStatus='noMore';
|
||||||
}
|
}
|
||||||
|
console.log('这里将进行取消加载')
|
||||||
//检查是否是第一次加载,这里的控制已经移到 初次加载中了
|
//检查是否是第一次加载,这里的控制已经移到 初次加载中了
|
||||||
// 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