|
|
|
@@ -89,11 +89,9 @@ |
|
|
|
methods: { |
|
|
|
getDetail() { |
|
|
|
specialPublicityDetail(this.queryParams).then((resp) => { |
|
|
|
console.log() |
|
|
|
resp.data.specialPublicityType = this.selectDictLabel(this.specialPublicityTypeOptions, resp.data.specialPublicityType); |
|
|
|
if(resp.data.openContent.indexOf('<img') > -1){ |
|
|
|
if(resp.data.openContent !=null && resp.data.openContent !="" && resp.data.openContent.indexOf('<img') > -1){ |
|
|
|
resp.data.openContent = resp.data.openContent.replace(/<img/g,'<img style="width:100%;"') |
|
|
|
console.log(resp.data) |
|
|
|
} |
|
|
|
this.form = resp.data; |
|
|
|
}); |
|
|
|
|