mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 13:26:44 +08:00
更新
This commit is contained in:
@@ -140,7 +140,7 @@ const postJson=function(baseURL,url,postData){
|
|||||||
url: url,
|
url: url,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data:postData,
|
data:postData,
|
||||||
headers:{'Content-Type':'application/json'},
|
headers:{'Content-Type':'application/json;charset=utf-8'},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export default {
|
|||||||
apiManage.userTaskList(params).then(res=>{
|
apiManage.userTaskList(params).then(res=>{
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
this.total = 10;
|
this.total = 10;
|
||||||
this.couresList = res.data;
|
this.couresList = res.data.records;
|
||||||
}else{
|
}else{
|
||||||
this.$message.error('查询数据失败:'+res.msg);
|
this.$message.error('查询数据失败:'+res.msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user