whyczyk
2021-03-15 480eb7033d94f40b7c658cc3829852d246981f93
src/assets/js/axios.js
@@ -5,6 +5,9 @@
    // 跨域请求
    axios.defaults.baseURL = 'http://localhost:8090/screen';
    axios.defaults.withCredentials = true; // 保持请求头
} else {
    axios.defaults.baseURL = '/screen';
    axios.defaults.withCredentials = true; // 保持请求头
}
// 添加请求拦截器
axios.interceptors.request.use(function (config) {