调整界面

This commit is contained in:
刘祥超
2020-10-25 19:45:42 +08:00
parent 501ea9818d
commit b8e95c1ad1
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"
})
})
}
})