✨ Feat: [前台]:请求超时时间设置为15s
This commit is contained in:
parent
34d1b79d5c
commit
1ea496fcba
@ -4,7 +4,7 @@ import axios from "axios";
|
|||||||
//定义http实例
|
//定义http实例
|
||||||
const instance = axios.create({
|
const instance = axios.create({
|
||||||
baseURL: "/bookmark/api",
|
baseURL: "/bookmark/api",
|
||||||
timeout: 5000
|
timeout: 15000
|
||||||
});
|
});
|
||||||
|
|
||||||
//实例添加请求拦截器
|
//实例添加请求拦截器
|
||||||
|
Loading…
x
Reference in New Issue
Block a user