mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
4.2.0
This commit is contained in:
@@ -7,7 +7,7 @@ import { getToken, removeToken } from './auth'
|
||||
|
||||
// 创建axios实例
|
||||
const client = axios.create({
|
||||
baseURL: process.env.VUE_APP_BASE_API, // api 的 base_url
|
||||
baseURL: process.env.VUE_APP_BASE_API + '/api', // api 的 base_url
|
||||
timeout: 60000 // 请求超时时间,60秒
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user