main.js
const app = createApp(App)
app.config.globalProperties.$http = axios;
//接口请求的基准路径
axios.defaults.baseURL = 'http://192.168.1.111:8083/';
// 添加请求拦截器
axios.interceptors.request
main.js
const app = createApp(App)
app.config.globalProperties.$http = axios;
//接口请求的基准路径
axios.defaults.baseURL = 'http://192.168.1.111:8083/';
// 添加请求拦截器
axios.interceptors.request