回显问题修复
This commit is contained in:
parent
dcb66fd973
commit
954246923a
|
|
@ -332,7 +332,7 @@ export default {
|
|||
const fileList = response.data.surveyAttach.split(',')
|
||||
this.form.fileList = fileList.map((item, index) => ({
|
||||
name: '附件' + (index + 1),
|
||||
url: process.env.VUE_APP_BASE_API + item + '?token=' + getToken(),
|
||||
url: process.env.VUE_APP_BASE_API + "/profile" + item + '?token=' + getToken(),
|
||||
}))
|
||||
|
||||
const {rows: res} = await getModelListApi({page: 1, pageSize: 999, projectId: this.form.proId})
|
||||
|
|
@ -398,11 +398,12 @@ export default {
|
|||
this.getList()
|
||||
this.$modal.msgSuccess('删除成功')
|
||||
})
|
||||
.catch(() => {})
|
||||
.catch(() => {
|
||||
})
|
||||
},
|
||||
|
||||
handlePreviewFile(item) {
|
||||
window.open(process.env.VUE_APP_BASE_API + item + '?token=' + getToken(), '_blank')
|
||||
window.open(process.env.VUE_APP_BASE_API + "/profile" + item + '?token=' + getToken(), '_blank')
|
||||
},
|
||||
|
||||
handlePreview(file) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue