mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 03:10:26 +08:00
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
Tea.context(function () {
|
|
this.success = NotifyReloadSuccess("保存成功")
|
|
this.checkResult = null
|
|
|
|
this.$post(".status")
|
|
.params({
|
|
nodeId: this.nodeId
|
|
})
|
|
.success(function (resp) {
|
|
let results = resp.data.results
|
|
if (results.length > 0) {
|
|
this.checkResult = results[0]
|
|
}
|
|
})
|
|
}) |