张延森 2 years ago
parent
commit
1c10fb4fc3
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/utils/request.js

+ 2
- 0
src/utils/request.js View File

24
     ? { Authorization: localStorage.getItem('token') }
24
     ? { Authorization: localStorage.getItem('token') }
25
     : {};
25
     : {};
26
 
26
 
27
+    console.log('------------->', API_BASE)
28
+
27
   const prefix = `${API_BASE}/api/admin`;
29
   const prefix = `${API_BASE}/api/admin`;
28
   let requestType='json'
30
   let requestType='json'
29
   if (options.data instanceof FormData) {
31
   if (options.data instanceof FormData) {