From 49f3321fa839e0ff5fb4d2de75756096a6db7b92 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期日, 24 九月 2023 10:50:08 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mom-before --- src/main.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index f5b6bda..7fc1e88 100644 --- a/src/main.js +++ b/src/main.js @@ -23,7 +23,11 @@ Vue.use(qs); Vue.use(api); -const javaApi = 'http://localhost:8001/' +const javaApi = 'http://192.168.14.249:8001' + +// const javaApi = 'http://127.0.0.1:8001/' + + axios.defaults.baseURL = javaApi axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' @@ -55,6 +59,7 @@ config.data = qs.parse(config.data) // console.log(config.data) } + return config }, function(error) { @@ -117,4 +122,4 @@ el: '#app', router, render: h => h(App) -}); \ No newline at end of file +}); -- Gitblit v1.9.3