ソースを参照

问题修改

rongxin_dev
庞东旭 1日前
コミット
72fc48059a
2個のファイルの変更9行の追加0行の削除
  1. +4
    -0
      src/views/sunVillage_info/list_special_detail_vote.vue
  2. +5
    -0
      src/views/sunVillage_info/otherOpenNew/otherOpenVisitDetail.vue

+ 4
- 0
src/views/sunVillage_info/list_special_detail_vote.vue ファイルの表示

@@ -90,6 +90,10 @@
specialPublicityDetail(this.queryParams).then((resp) => {
console.log()
resp.data.specialPublicityType = this.selectDictLabel(this.specialPublicityTypeOptions, resp.data.specialPublicityType);
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;
});
},


+ 5
- 0
src/views/sunVillage_info/otherOpenNew/otherOpenVisitDetail.vue ファイルの表示

@@ -91,6 +91,11 @@
}

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.getDicts('other_gk_type').then((resp) => {
const dict = resp.data.find((x) => x.dictValue == this.form.otherType);


読み込み中…
キャンセル
保存