mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-14 12:20:27 +08:00
审核中服务增加提交审核时间/已通过域名标绿
This commit is contained in:
@@ -6,10 +6,26 @@ Tea.context(function () {
|
||||
let that = this
|
||||
this.serverNames.forEach(function (v) {
|
||||
if (v.subNames == null || v.subNames.length == 0) {
|
||||
that.allServerNames.push(v.name)
|
||||
that.allServerNames.push({
|
||||
name: v.name,
|
||||
isPassed: that.passedDomains.$contains(v.name)
|
||||
})
|
||||
} else {
|
||||
that.allServerNames.$pushAll(v.subNames)
|
||||
v.subNames.forEach(function (subName) {
|
||||
that.allServerNames.push({
|
||||
name: subName,
|
||||
isPassed: that.passedDomains.$contains(subName)
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
this.hasPassedDomains = false
|
||||
this.allServerNames.forEach(function (serverName) {
|
||||
if (serverName.isPassed) {
|
||||
that.hasPassedDomains = true
|
||||
}
|
||||
})
|
||||
|
||||
this.auditing = 1
|
||||
})
|
||||
Reference in New Issue
Block a user