|
@@ -91,6 +91,11 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
otherOpenDetail(this.id).then((resp) => { |
|
|
otherOpenDetail(this.id).then((resp) => { |
|
|
|
|
|
console.log(resp.data.openContent.indexOf('<img')) |
|
|
|
|
|
if(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; |
|
|
this.form = resp.data; |
|
|
this.getDicts('other_gk_type').then((resp) => { |
|
|
this.getDicts('other_gk_type').then((resp) => { |
|
|
const dict = resp.data.find((x) => x.dictValue == this.form.otherType); |
|
|
const dict = resp.data.find((x) => x.dictValue == this.form.otherType); |
|
|