张延森 před 2 roky
rodič
revize
1c10fb4fc3
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      src/utils/request.js

+ 2
- 0
src/utils/request.js Zobrazit soubor

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