Explorar el Código

请求超时 bug修复

chenrui hace 3 años
padre
commit
90d5460b90
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -13,7 +13,7 @@ const service = axios.create({
 })
 
 const err = (error) => {
-  console.log(error.response.data.message, 'error')
+  console.log(error, 'error')
   if (error.response) {
     const status = error.response.status
     if ((status == 503 || status == 500) && window.location.pathname != '/user/login') {