Explorar el Código

return error always, ref #82

afc163 hace 8 años
padre
commit
7efcab1b5f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/utils/request.js

+ 1 - 0
src/utils/request.js

@@ -47,5 +47,6 @@ export default function request(url, options) {
           description: error.message,
         });
       }
+      return error;
     });
 }