调整界面

This commit is contained in:
GoEdgeLab
2020-10-25 19:45:42 +08:00
parent 9524a0d145
commit cccc64a629
11 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
Tea.context(function () {
this.deleteCluster = function (clusterId) {
let that = this
teaweb.confirm("确定要删除此集群吗?", function () {
that.$post("/clusters/cluster/delete")
.params({
clusterId: clusterId
})
.success(function () {
window.location = "/clusters"
})
})
}
})