From 253b9c48b02d995540b84c1831e54e6baf8a1000 Mon Sep 17 00:00:00 2001 From: XiaoRuby <3114200645@qq.com> Date: 星期五, 08 九月 2023 10:21:58 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 72f68aa..f3d0d1e 100644 --- a/src/main.js +++ b/src/main.js @@ -23,7 +23,10 @@ Vue.use(qs); Vue.use(api); -const javaApi = 'http://localhost:8001/' +// const javaApi = 'http://127.0.0.1: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' -- Gitblit v1.9.3