更新 login.html
parent
f28bc21d7b
commit
7cb8bbeaa8
|
@ -106,6 +106,7 @@
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// alert('Login successful')
|
// alert('Login successful')
|
||||||
|
sessionStorage.setItem('state', 'logined');
|
||||||
window.location.href = "home.html"
|
window.location.href = "home.html"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue