mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user