在服务列表中显示需要修复的错误

This commit is contained in:
刘祥超
2021-05-23 20:44:51 +08:00
parent 88e7246366
commit 0053949bc0
8 changed files with 117 additions and 0 deletions

View File

@@ -46,4 +46,20 @@ Tea.context(function () {
this.showLatest = function () {
this.latestVisible = !this.latestVisible
}
/**
* 错误日志相关
*/
this.fixLog = function (logId) {
let that = this
teaweb.confirm("确定要关闭此错误提示吗?", function () {
that.$post(".fixLog")
.params({
logId: logId
})
.success(function () {
teaweb.reload()
})
})
}
})