From 4beefba67c39fc863b849e312b86d8f51a89005f Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期五, 08 九月 2023 17:15:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index f5b6bda..4df962d 100644 --- a/src/main.js +++ b/src/main.js @@ -23,7 +23,9 @@ Vue.use(qs); Vue.use(api); -const javaApi = 'http://localhost:8001/' +const javaApi = 'http://192.168.0.23:8001' + + axios.defaults.baseURL = javaApi axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' @@ -117,4 +119,4 @@ el: '#app', router, render: h => h(App) -}); \ No newline at end of file +}); -- Gitblit v1.9.3