可以修改节点的DNS设置

This commit is contained in:
刘祥超
2020-11-14 09:42:21 +08:00
parent 8b749fbc60
commit cc6123884d
10 changed files with 332 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
Tea.context(function () {
this.updateClusterDNS = function (clusterId) {
teaweb.popup("/dns/updateClusterPopup?clusterId=" + clusterId, {
height: "22em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()
})
}
})
}
this.updateNode = function (nodeId) {
teaweb.popup("/dns/issues/updateNodePopup?nodeId=" + nodeId, {
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()
})
}
})
}
})