Przeglądaj źródła

解决专项公示扫码报错问题

rongxin_dev
yangfuda 3 tygodni temu
rodzic
commit
3c58ca67e8
1 zmienionych plików z 1 dodań i 3 usunięć
  1. +1
    -3
      src/views/sunVillage_info/list_special_detail_vote.vue

+ 1
- 3
src/views/sunVillage_info/list_special_detail_vote.vue Wyświetl plik

@@ -89,11 +89,9 @@
methods: { methods: {
getDetail() { getDetail() {
specialPublicityDetail(this.queryParams).then((resp) => { specialPublicityDetail(this.queryParams).then((resp) => {
console.log()
resp.data.specialPublicityType = this.selectDictLabel(this.specialPublicityTypeOptions, resp.data.specialPublicityType); 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%;"') 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;
}); });


Ładowanie…
Anuluj
Zapisz