浏览代码

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

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


正在加载...
取消
保存