mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 03:40:27 +08:00
优化节点日志:可以批量设置服务错误日志为已修复等
This commit is contained in:
@@ -55,7 +55,28 @@ Tea.context(function () {
|
||||
teaweb.confirm("确定要关闭此错误提示吗?", function () {
|
||||
that.$post(".fixLog")
|
||||
.params({
|
||||
logId: logId
|
||||
logIds: logId
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.reload()
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
this.fixPageLogs = function () {
|
||||
let logIds = this.errorLogs.map(function (v) {
|
||||
return v.id
|
||||
})
|
||||
if (logIds.length == 0) {
|
||||
teaweb.reload()
|
||||
return
|
||||
}
|
||||
|
||||
let that = this
|
||||
teaweb.confirm("确定要关闭此页错误提示吗?", function () {
|
||||
that.$post(".fixLog")
|
||||
.params({
|
||||
logIds: logIds
|
||||
})
|
||||
.success(function () {
|
||||
teaweb.reload()
|
||||
|
||||
Reference in New Issue
Block a user