Authored by 陈峰

Merge branch 'release/0606' into 'gray'

Release/0606



See merge request !306
... ... @@ -58,7 +58,7 @@
"uuid": "^2.0.2",
"yo-cli": "=1.0.7",
"yoho-express-session": "^2.0.0",
"yoho-node-lib": "=0.6.15",
"yoho-node-lib": "=0.6.16",
"yoho-zookeeper": "^1.0.8"
},
"devDependencies": {
... ...
... ... @@ -10,6 +10,12 @@ $(document).ajaxError((event, xhr) => {
} else if (xhr.responseJSON.message) {
new Alert(xhr.responseJSON.message).show();
}
} else if (xhr.status === 403 && xhr.responseJSON.code === 4403) {
new Alert(xhr.responseJSON.message).show();
setTimeout(function() {
window.location.href = `${xhr.responseJSON.data.url}&refer=${encodeURIComponent(window.location.href)}`;
}, 2000);
}
}
});
... ...