xcx 4 anni fa
parent
commit
bf844d7ed7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/util/PublicMethod.js

+ 1
- 1
src/util/PublicMethod.js Vedi File

@@ -105,7 +105,7 @@ const ToolClass = {
105 105
     Axios({ ...aParams }).then(res => {
106 106
       // console.log('response---->', res)
107 107
       const token = res.headers['X-Authorization-JWT'] || res.headers['x-authorization-jwt'] || res.headers['X-AUTHORIZATION-JWT']
108
-      console.log(`Header is ${res.headers}`)
108
+      console.log(`Header is ${JSON.stringify(res.headers)}`)
109 109
       console.log(`Jwt is ${token}`)
110 110
       if (token) { // 更新本地存储token
111 111
         window.localStorage.Jwt = token