Browse Source

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

rongxin_dev
yangfuda 3 weeks ago
parent
commit
3c58ca67e8
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/views/sunVillage_info/list_special_detail_vote.vue

+ 1
- 3
src/views/sunVillage_info/list_special_detail_vote.vue View File

@@ -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;
});


Loading…
Cancel
Save