Authored by 陈峰

Update create-api-client.js

... ... @@ -14,7 +14,8 @@ axios.defaults.headers = {
const errHandle = (error) => {
let res = error.response;
console.log(error);
if (+res.status === 510) {
if (get(res, 'data.data.refer')) {
return window.location.href === get(res, 'data.data.refer');
... ...