修改请求端口

This commit is contained in:
Cool 2023-11-20 22:36:06 +08:00
parent a724363711
commit 09badc802e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { Message } from "element-ui";
//创建axios实例
const axiosInstance = axios.create({
baseURL: 'http://localhost:8081', // 设置默认发送地址为后端端口
baseURL: 'http://localhost:8080', // 设置默认发送地址为后端端口
});
//添加拦截器在每次ajax之前都会执行这个操作