mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 23:30:26 +08:00
增加IP级别和WAF动作
This commit is contained in:
@@ -59,6 +59,14 @@ Tea.context(function () {
|
||||
})
|
||||
}
|
||||
|
||||
this.checkMessagesOnce = function () {
|
||||
this.$post("/messages/badge")
|
||||
.params({})
|
||||
.success(function (resp) {
|
||||
this.globalMessageBadge = resp.data.count
|
||||
})
|
||||
}
|
||||
|
||||
this.showMessages = function () {
|
||||
teaweb.popup("/messages", {
|
||||
height: "24em",
|
||||
|
||||
Reference in New Issue
Block a user