This commit is contained in:
zhaofang
2022-09-02 15:28:34 +08:00
parent db0e262d26
commit 68eb098e19
4 changed files with 77 additions and 6 deletions

View File

@@ -83,7 +83,14 @@ export default {
) {
return this.fileBaseUrl + this.course.image;
}
else if (this.course.coverImg == "" || this.course.courseImage == "" || this.course.image == "") {
else if (
this.course &&
this.course.images &&
this.course.images != ""
) {
return this.fileBaseUrl + this.course.images;
}
else if (this.course.coverImg == "" || this.course.courseImage == "" || this.course.image == "" || this.course.images == "") {
this.isShow = true;
return this.webBaseUrl + "/images/bgimg/course.png";
}