Commit c51da8bf authored by xiaohuoni's avatar xiaohuoni Committed by 偏右

redirect of different origins will be ignored

parent 831f9ea0
......@@ -33,8 +33,7 @@ export default {
redirect = redirect.substr(redirect.indexOf('#') + 1);
}
} else {
window.location.href = redirect;
return;
redirect = null;
}
}
yield put(routerRedux.replace(redirect || '/'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment