Update fetch.js

This commit is contained in:
花裤衩 2017-08-16 09:56:01 +08:00 committed by GitHub
parent 3a81401739
commit 115b2b0f7d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ service.interceptors.response.use(
});
})
}
return Promise.reject(error);
return Promise.reject('error');
} else {
return response.data;
}