diff --git a/src/components/drawers/project/AddCertificate.vue b/src/components/drawers/project/AddCertificate.vue index 2aa0b3f5..3b0c8f27 100644 --- a/src/components/drawers/project/AddCertificate.vue +++ b/src/components/drawers/project/AddCertificate.vue @@ -501,8 +501,8 @@ export default { fileUp(formDatas).then((res) => { if (res.data.code === 200) { console.log(file) - state.imageUrl = res.data.data; - state.imageName = file.name; + state.imageUrl = process.env.VUE_APP_FILE_PATH + res.data.data; + state.imageName = process.env.VUE_APP_FILE_PATH + file.name; } }); return false;