src/main.js
@@ -23,7 +23,7 @@ Vue.use(qs); Vue.use(api); const javaApi = 'http://localhost:8001/' const javaApi = 'http://192.168.110.167:8001/' axios.defaults.baseURL = javaApi axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' @@ -117,4 +117,4 @@ el: '#app', router, render: h => h(App) }); });