mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 20:00:25 +08:00
节点运行日志可以按照节点ID设置为已读
This commit is contained in:
@@ -27,6 +27,16 @@ Tea.context(function () {
|
||||
})
|
||||
}
|
||||
|
||||
this.updateNodeRead = function (nodeId) {
|
||||
this.$post(".readLogs")
|
||||
.params({
|
||||
nodeId: nodeId
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.reload()
|
||||
})
|
||||
}
|
||||
|
||||
this.updateAllRead = function () {
|
||||
this.$post(".readAllLogs")
|
||||
.params({})
|
||||
|
||||
Reference in New Issue
Block a user