From b9bd29a1a81f6f7de479e3cc3fdfe3d85fc660bf Mon Sep 17 00:00:00 2001 From: he wei <858544502@qq.com> Date: 星期三, 23 四月 2025 13:35:06 +0800 Subject: [PATCH] UA 整理提交 --- src/utils/request.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index f719bfb..b57e32a 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -1,9 +1,9 @@ import axios from 'axios'; // 鐢熶骇鐜鍜屽紑鍙戠幆澧冨垏鎹㈣姹傚湴鍧� -let baseURL = 'http://localhost:8100/bl/'; +let baseURL = 'http://localhost:8101/bl_plus/'; if (process.env.NODE_ENV === 'production') { - baseURL = location.protocol + '//' + location.host + '/bl/'; + baseURL = location.protocol + '//' + location.host + '/bl_plus/'; } // create an axios instance @@ -38,6 +38,9 @@ * You can also judge the status by HTTP Status Code */ response => { + if (response.config && response.config.fullRes) { + return response; + } return response.data; }, error => { -- Gitblit v1.9.1