mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-08 16:00:26 +08:00
修复异地登录自动验证提交两次的问题
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user