fix: sign In button in the result page has broken (#646)

* fix: sign In button in the result page has broken

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: code format

Signed-off-by: Steve0x2a <stevesough@gmail.com>
This commit is contained in:
Yi Zhan
2022-04-05 08:49:11 +08:00
committed by GitHub
parent abc15b88c8
commit 86b3a078ef

View File

@ -66,7 +66,7 @@ class ResultPage extends React.Component {
extra={[ extra={[
<Button type="primary" key="login" onClick={() => { <Button type="primary" key="login" onClick={() => {
let linkInStorage = sessionStorage.getItem("loginURL") let linkInStorage = sessionStorage.getItem("loginURL")
if (linkInStorage != "") { if (linkInStorage !== null && linkInStorage !== "") {
Setting.goToLink(linkInStorage) Setting.goToLink(linkInStorage)
} else { } else {
Setting.goToLogin(this, application) Setting.goToLogin(this, application)