节点安装界面显示SSH地址,方便用户校对

This commit is contained in:
GoEdgeLab
2023-08-09 15:41:07 +08:00
parent 4f584b40b2
commit d0efa65534
4 changed files with 44 additions and 2 deletions

View File

@@ -103,4 +103,15 @@ Tea.context(function () {
}, 1000)
});
}
this.showSSHPopup = function (nodeId) {
teaweb.popup("/clusters/cluster/updateNodeSSH?nodeId=" + nodeId, {
height: "30em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()
})
}
})
}
})