Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/portal

This commit is contained in:
dongruihua
2023-03-10 02:51:51 +08:00
3 changed files with 9 additions and 3 deletions

View File

@@ -65,10 +65,10 @@ export default {
},
imageUrl() {
this.isShow = false;
if(this.course && this.course.coverImg && this.course.coverImg.startsWith('h')) {
if(this.course && this.course.coverImg && this.course.coverImg.startsWith('http')) {
return this.course.coverImg;
}
if(this.course && this.course.courseImage && this.course.courseImage.startsWith('h')) {
if(this.course && this.course.courseImage && this.course.courseImage.startsWith('http')) {
return this.course.courseImage;
}
if (this.course && this.course.coverImg && this.course.coverImg != "") {