mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 07:10:27 +08:00
11 lines
234 B
JavaScript
11 lines
234 B
JavaScript
Tea.context(function () {
|
|
this.deleteNode = function (nodeId) {
|
|
teaweb.confirm("确定要删除这个节点吗?", function () {
|
|
this.$post("/nodes/delete")
|
|
.params({
|
|
nodeId: nodeId
|
|
})
|
|
.refresh();
|
|
});
|
|
};
|
|
}); |