mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 03:10:26 +08:00
15 lines
394 B
JavaScript
15 lines
394 B
JavaScript
Tea.context(function () {
|
|
this.success = NotifyReloadSuccess("保存成功")
|
|
this.auditSuccess = NotifyReloadSuccess("保存成功")
|
|
|
|
this.allServerNames = []
|
|
let that = this
|
|
this.serverNames.forEach(function (v) {
|
|
if (v.subNames == null || v.subNames.length == 0) {
|
|
that.allServerNames.push(v.name)
|
|
} else {
|
|
that.allServerNames.$pushAll(v.subNames)
|
|
}
|
|
})
|
|
this.auditing = 1
|
|
}) |