Files
EdgeAdmin/web/views/@default/dns/clusters/cluster.js

22 lines
501 B
JavaScript
Raw Normal View History

2020-11-14 09:42:21 +08:00
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()
})
}
})
}
})