课程说明云点播
This commit is contained in:
@@ -112,7 +112,12 @@
|
||||
this.$emit('support',{index1,index,val})
|
||||
},
|
||||
getBackGround(src){
|
||||
// console.log(src,'src')
|
||||
if(src == '' || src == null){
|
||||
return `background: url(./static/icon/morenAvavter.png); background-size: cover;`
|
||||
}else{
|
||||
return `background: url(${src});background-size: cover;`
|
||||
}
|
||||
},
|
||||
formatRichText(html) { //控制图片大小
|
||||
let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) {
|
||||
|
||||
Reference in New Issue
Block a user