提交 c51da8bf 编写于 作者: 陈小聪-小虎Oni's avatar 陈小聪-小虎Oni 提交者: 偏右

redirect of different origins will be ignored

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册