修复异地登录自动验证提交两次的问题

This commit is contained in:
GoEdgeLab
2024-05-14 20:26:15 +08:00
parent 73057dda9f
commit e93a40f1a2
2 changed files with 6 additions and 5 deletions

View File

@@ -10,7 +10,6 @@ Tea.context(function () {
this.$post("$")
.params({localSid: sid, "ip": ip})
.post()
.success(function (resp) {
if (!resp.data.isOk) {
window.location = "/logout"
@@ -28,7 +27,7 @@ Tea.context(function () {
} else {
window.location = "/dashboard"
}
})
}, 100)
})
})
})