src/main.js
@@ -10,7 +10,7 @@ import axios from 'axios' // 配置请求的跟路径 axios.defaults.baseURL = 'http://10.2.33.200:8081' axios.defaults.baseURL = 'http://8.140.68.52:8181' axios.interceptors.request.use(config => { // console.log(config) config.headers.Authorization = window.sessionStorage.getItem('token')