bugfix: Promise.reject()没有return

This commit is contained in:
yydzxz 2022-05-04 22:12:00 +08:00 committed by GitHub
parent d28f504a80
commit ddf4691130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ service.interceptors.response.use(
if (response.status === 200) {
return response.data;
} else {
Promise.reject();
return Promise.reject();
}
},
error => {