ソースを参照

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

rongxin_dev
yangfuda 2ヶ月前
コミット
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;
});


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