diff --git a/src/components/drawers/project/AddCertificate.vue b/src/components/drawers/project/AddCertificate.vue index 76f49710..2aa0b3f5 100644 --- a/src/components/drawers/project/AddCertificate.vue +++ b/src/components/drawers/project/AddCertificate.vue @@ -470,7 +470,7 @@ export default { if (info.file.status === "done") { console.log("上传图片返回的信息 %o", info.file.name); state.imageUrl = process.env.VUE_APP_FILE_PATH + info.file.name; - state.imageName = info.file.name; + state.imageName = process.env.VUE_APP_FILE_PATH + info.file.name; } if (info.file.status === "error") { message.error("upload error");