소스 검색

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

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}" >`)
       })
     }
   }