端口号改变

This commit is contained in:
yuanteng 2024-10-31 19:47:25 +08:00
parent 60d9e78b89
commit d1715a03a3

View File

@ -4,7 +4,7 @@ import router from '../router'
const myAxios = axios.create({ const myAxios = axios.create({
withCredentials:true, withCredentials:true,
baseURL: 'http://localhost:8888/api'//测试服务器 baseURL: 'http://localhost:9092/api'//测试服务器
}); });
// 添加请求拦截器 // 添加请求拦截器
axios.interceptors.request.use(function (config) { axios.interceptors.request.use(function (config) {