|
@@ -16,8 +16,8 @@ export let isRelogin = { show: false };
|
16
|
16
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
17
|
17
|
// 创建axios实例
|
18
|
18
|
const service = axios.create({
|
19
|
|
- // baseURL: process.env.VUE_APP_BASE_API,
|
20
|
|
- baseURL: "http://39.105.121.97:8080/api",
|
|
19
|
+ baseURL: process.env.VUE_APP_BASE_API,
|
|
20
|
+ // baseURL: "http://39.105.121.97:8080/api",
|
21
|
21
|
// baseURL: "http://106.74.15.131:81/api",
|
22
|
22
|
|
23
|
23
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|