fix
This commit is contained in:
@ -5,9 +5,9 @@ import { errorCode } from "@/utils/errorCode";
|
||||
|
||||
const service = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
// baseURL: import.meta.env.VITE_APP_BASE_API,
|
||||
baseURL: import.meta.env.VITE_APP_BASE_API,
|
||||
// 超时
|
||||
baseURL: "/dev-api",
|
||||
// baseURL: "/dev-api",
|
||||
timeout: 100000,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user