mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 00:20:26 +08:00
22 lines
501 B
JavaScript
22 lines
501 B
JavaScript
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()
|
|
})
|
|
}
|
|
})
|
|
}
|
|
}) |