Files
EdgeAdmin/web/views/@default/clusters/cluster/node/settings/ddos-protection/index.js
2022-05-18 21:02:47 +08:00

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]
}
})
})