修复域名解析--集群中单节点多IP时无法修改IP的Bug

This commit is contained in:
GoEdgeLab
2022-10-24 16:33:56 +08:00
parent bcc4e3f3df
commit af483e5f13
5 changed files with 33 additions and 25 deletions

View File

@@ -10,8 +10,8 @@ Tea.context(function () {
})
}
this.updateNode = function (clusterId, nodeId) {
teaweb.popup("/dns/issues/updateNodePopup?clusterId=" + clusterId + "&nodeId=" + nodeId, {
this.updateNode = function (clusterId, nodeId, ipAddrId) {
teaweb.popup("/dns/issues/updateNodePopup?clusterId=" + clusterId + "&nodeId=" + nodeId + "&ipAddrId=" + (ipAddrId ? ipAddrId : 0), {
width: "46em",
height: "26em",
callback: function () {