11
This commit is contained in:
parent
4e46c4a716
commit
abe0feef61
Binary file not shown.
|
@ -17,8 +17,8 @@ axios.defaults.headers['Content-Language'] = 'zh_CN'
|
|||
// 创建axios实例
|
||||
const service = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
// baseURL: process.env.VUE_APP_API_TARGET_URL,
|
||||
// baseURL: process.env.VUE_APP_BASE_API,
|
||||
baseURL: process.env.VUE_APP_API_TARGET_URL,
|
||||
// 超时
|
||||
timeout: 10000
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user