mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-19 23:50:25 +08:00
12 lines
321 B
JavaScript
12 lines
321 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.updateNodeRegion = function (node) {
|
||
|
|
let nodeId = node.id
|
||
|
|
let regionId = (node.region ? node.region.id : 0)
|
||
|
|
|
||
|
|
teaweb.popup(Tea.url(".updateNodeRegionPopup", { nodeId: nodeId, regionId: regionId }), {
|
||
|
|
callback: function () {
|
||
|
|
teaweb.successRefresh("保存成功")
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
})
|