This commit is contained in:
wangchengming 2024-10-22 20:13:28 +08:00
parent 4e46c4a716
commit abe0feef61
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -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
})