From e03f39a06c9f17ee0bf9a2b1fa24b7de0ea2e3d4 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 15 九月 2023 11:47:29 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before
---
src/main.js | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index f5b6bda..61dbbb7 100644
--- a/src/main.js
+++ b/src/main.js
@@ -23,7 +23,12 @@
Vue.use(qs);
Vue.use(api);
-const javaApi = 'http://localhost:8001/'
+const javaApi = 'http://192.168.0.23:8001'
+// localhost 127.0.0.1
+
+// 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 +60,7 @@
config.data = qs.parse(config.data)
// console.log(config.data)
}
+
return config
}, function(error) {
@@ -117,4 +123,4 @@
el: '#app',
router,
render: h => h(App)
-});
\ No newline at end of file
+});
--
Gitblit v1.9.3