This commit is contained in:
tanghc
2020-11-12 17:14:14 +08:00
parent 3ab4e70be9
commit 1203aaf246
6 changed files with 9 additions and 7 deletions

View File

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