修复所有API地址配置:request.ts中的baseURL从localhost改为192.168.3.200
This commit is contained in:
@@ -22,8 +22,8 @@ const service: AxiosInstance = axios.create({
|
|||||||
const newService: AxiosInstance = axios.create({
|
const newService: AxiosInstance = axios.create({
|
||||||
// baseURL: 'http://192.168.3.95:8000/',
|
// baseURL: 'http://192.168.3.95:8000/',
|
||||||
// baseURL: 'http://192.168.3.49:8000/',
|
// baseURL: 'http://192.168.3.49:8000/',
|
||||||
baseURL: 'http://localhost:8000/',
|
// baseURL: 'http://localhost:8000/',
|
||||||
// baseURL: 'http://192.168.3.200:8000/',
|
baseURL: 'http://192.168.3.200:8000/',
|
||||||
timeout: 50000,
|
timeout: 50000,
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
paramsSerializer: {
|
paramsSerializer: {
|
||||||
|
|||||||
Reference in New Issue
Block a user