mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
课程页面资源位空信息时的处理
This commit is contained in:
@@ -444,9 +444,11 @@ export default {
|
||||
couresreso(){
|
||||
let key = 'course';
|
||||
apiPlace.detail(key).then(res=>{
|
||||
console.log(res,'lmj')
|
||||
let Imageres = JSON.parse(res.result.content);
|
||||
this.resonimg = Imageres[0]
|
||||
//console.log(res,'lmj')
|
||||
let resImgList = JSON.parse(res.result.content);
|
||||
if(resImgList && resImgList.length>0){
|
||||
this.resonimg = resImgList[0]
|
||||
}
|
||||
// console.log(this.resonimg,'111')
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user