From c9af6bb994e96776d796480dd21ff0a95e1212cd Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期日, 24 九月 2023 18:38:44 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mom-before
---
src/main.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 2c27d35..9a81a52 100644
--- a/src/main.js
+++ b/src/main.js
@@ -23,8 +23,7 @@
Vue.use(qs);
Vue.use(api);
-const javaApi = 'http://10.20.102.112:8001'
-// localhost 127.0.0.1
+const javaApi = 'http://localhost:8001'
// const javaApi = 'http://127.0.0.1:8001/'
@@ -68,6 +67,9 @@
})
axios.interceptors.response.use(res => {
+ if(res.config.responseType === 'blob'){
+ return res;
+ }
return res.data
}, async function(err) {
if (JSON.stringify(err).indexOf('timeout of') > -1) {
--
Gitblit v1.9.3