|
|
|
@ -67,8 +67,10 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
number: 0,
|
|
|
|
|
uploadList: [],
|
|
|
|
|
baseUrl: process.env.VUE_APP_BASE_API,
|
|
|
|
|
uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传文件服务器地址
|
|
|
|
|
// baseUrl: process.env.VUE_APP_BASE_API,
|
|
|
|
|
baseUrl: location.origin,
|
|
|
|
|
// uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传文件服务器地址
|
|
|
|
|
uploadFileUrl: location.origin + '/api/common/upload',
|
|
|
|
|
headers: {
|
|
|
|
|
Authorization: "Bearer " + getToken(),
|
|
|
|
|
},
|
|
|
|
|