Selaa lähdekoodia

return error always, ref #82

afc163 8 vuotta sitten
vanhempi
commit
7efcab1b5f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
     });
 }