mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 22:30:28 +08:00
12 lines
260 B
JavaScript
12 lines
260 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.deleteCluster = function (clusterId) {
|
||
|
|
let that = this
|
||
|
|
teaweb.confirm("确定要删除此集群吗?", function () {
|
||
|
|
that.$post("/clusters/delete")
|
||
|
|
.params({
|
||
|
|
clusterId: clusterId
|
||
|
|
})
|
||
|
|
.refresh()
|
||
|
|
})
|
||
|
|
}
|
||
|
|
})
|