This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeAdmin/web/views/@default/clusters/cluster/settings/services/status.js
T

22 lines
511 B
JavaScript

Tea.context(function () {
this.isRequesting = true
this.results = []
this.$delay(function () {
this.reload()
}, 2000)
this.reload = function () {
this.isRequesting = true
this.$post("$")
.params({
clusterId: this.clusterId
})
.success(function (resp) {
this.results = resp.data.results
})
.done(function () {
this.isRequesting = false
})
}
})