Преглед изворни кода

修复产品详情上传图片回显问题

wyy пре 1 година
родитељ
комит
3adfd5380c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mall4v/src/components/tiny-mce/index.vue

+ 1 - 1
mall4v/src/components/tiny-mce/index.vue

@@ -245,7 +245,7 @@ export default {
     imageSuccessCBK (response, file, fileList) {
       const _this = this
       fileList.forEach(v => {
-        window.tinymce.get(_this.tinymceId).insertContent(`<img class="wscnph" src="${this.resourcesUrl + v.response}" >`)
+        window.tinymce.get(_this.tinymceId).insertContent(`<img class="wscnph" src="${this.resourcesUrl + v.response.data}" >`)
       })
     }
   }