From 4f5549cd814eeaecd0ff04de62452d8d5fb4cbc5 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期四, 21 九月 2023 15:13:27 +0800
Subject: [PATCH] 9.21
---
src/main.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/main.js b/src/main.js
index 6cfc935..2c27d35 100644
--- a/src/main.js
+++ b/src/main.js
@@ -23,7 +23,12 @@
Vue.use(qs);
Vue.use(api);
-const javaApi = 'http://192.168.110.167:8001/'
+const javaApi = 'http://10.20.102.112: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'
@@ -56,6 +61,7 @@
// console.log(config.data)
}
+
return config
}, function(error) {
return Promise.reject(error)
--
Gitblit v1.9.3