Files
EdgeAdmin/web/views/@default/clusters/index.js

12 lines
260 B
JavaScript
Raw Normal View History

2020-10-25 16:22:36 +08:00
Tea.context(function () {
this.deleteCluster = function (clusterId) {
let that = this
teaweb.confirm("确定要删除此集群吗?", function () {
that.$post("/clusters/delete")
.params({
clusterId: clusterId
})
.refresh()
})
}
})