瀏覽代碼

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

rongxin_dev
yangfuda 3 週之前
父節點
當前提交
3c58ca67e8
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. +1
    -3
      src/views/sunVillage_info/list_special_detail_vote.vue

+ 1
- 3
src/views/sunVillage_info/list_special_detail_vote.vue 查看文件

@@ -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…
取消
儲存