图片预览路径
This commit is contained in:
@@ -185,7 +185,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -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 + '\'>'
|
||||
|
||||
@@ -87,7 +87,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -194,7 +194,7 @@ export default {
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
this.userInfo.userPic = res.data.id
|
||||
this.userAvator = 'uploadPath' + res.data.filePath + res.data.fileName
|
||||
this.userAvator = 'file' + res.data.filePath + res.data.fileName
|
||||
})
|
||||
},
|
||||
// 保存用户信息
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ export default {
|
||||
content: ''
|
||||
},
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
@@ -158,7 +158,7 @@ export default {
|
||||
pubOrgName: '',
|
||||
content: '',
|
||||
linkUri: '',
|
||||
uploadPath: 'uploadPath',
|
||||
uploadPath: 'file',
|
||||
resPk: '',
|
||||
fileList: [],
|
||||
picList: [],
|
||||
|
||||
Reference in New Issue
Block a user