图片预览路径

This commit is contained in:
宋伟佳
2021-12-15 19:53:52 +08:00
parent 57272d999c
commit 8bf3254779
7 changed files with 7 additions and 7 deletions
@@ -1707,7 +1707,7 @@ export default {
if (res.ok) {
let imgPath = res.data.filePath
let imgName = res.data.fileName
let imgSrc = 'uploadPath' + imgPath + imgName
let imgSrc = 'file' + imgPath + imgName
// let imgSrc = imgPath + imgName
// this.itemsContentList[this.saveUploadImgIndex].itemContent = 'uploadPath' + imgPath + imgName
this.itemsContentList[this.saveAddIndex + 1].itemContent = '<img class=\'wordImg\' src=\'' + imgSrc + '\'>'