mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -520,9 +520,13 @@
|
||||
|
||||
apiManage.userTaskList(params).then(res => {
|
||||
if(res.code==200){
|
||||
// res.data.records.forEach(r=>{
|
||||
// r.cmtask_imgurl='/upload/temp/1647074306.jpg';
|
||||
// })
|
||||
res.data.records.forEach(r=>{
|
||||
//r.cmtask_imgurl='/upload/static/images/course/courseDefault.png';
|
||||
if(r.cmtask_imgurl.startsWith('/upload')){
|
||||
r.cmtask_imgurl=this.$config.fileUrl+r.cmtask_imgurl.substring(7);
|
||||
}
|
||||
console.log('aaa='+r.cmtask_imgurl);
|
||||
})
|
||||
this.taskCount = parseInt(res.data.total);
|
||||
this.couresList.push(...res.data.records);
|
||||
if (this.taskCount > this.taskPageIndex * this.taskPageSize) {
|
||||
|
||||
Reference in New Issue
Block a user