xcx hace 4 años
padre
commit
7a4a1dade2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/util/PublicMethod.js

+ 1
- 1
src/util/PublicMethod.js Ver fichero

@@ -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 ${JSON.stringify(res.headers)}`)
108
+      console.log(`Header is ${JSON.stringify(res)}`)
109 109
       console.log(`Jwt is ${token}`)
110 110
       if (token) { // 更新本地存储token
111 111
         window.localStorage.Jwt = token