fix: fix missing parameters when signup (#533)

This commit is contained in:
Товарищ программист
2022-03-05 16:47:08 +08:00
committed by GitHub
parent cfbce79e32
commit ca0fa5fc40
3 changed files with 13 additions and 2 deletions

View File

@ -65,7 +65,12 @@ class ResultPage extends React.Component {
subTitle={i18next.t("signup:Please click the below button to sign in")}
extra={[
<Button type="primary" key="login" onClick={() => {
Setting.goToLogin(this, application);
let linkInStorage = sessionStorage.getItem("loginURL")
if (linkInStorage != "") {
Setting.goToLink(linkInStorage)
} else {
Setting.goToLogin(this, application)
}
}}>
{i18next.t("login:Sign In")}
</Button>