diff --git a/src/views/components/myUpload/index.vue b/src/views/components/myUpload/index.vue index 0025ea5..baf968d 100644 --- a/src/views/components/myUpload/index.vue +++ b/src/views/components/myUpload/index.vue @@ -68,7 +68,7 @@ export default { number: 0, uploadList: [], // baseUrl: process.env.VUE_APP_BASE_API, - baseUrl: location.origin, + baseUrl: location.origin + '/api', // uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传文件服务器地址 uploadFileUrl: location.origin + '/api/common/upload', headers: {