2020-07-30 22:41:35 +08:00
|
|
|
Tea.context(function () {
|
|
|
|
|
this.deleteNode = function (nodeId) {
|
|
|
|
|
teaweb.confirm("确定要删除这个节点吗?", function () {
|
2020-09-06 16:19:34 +08:00
|
|
|
this.$post("/nodes/delete")
|
2020-07-30 22:41:35 +08:00
|
|
|
.params({
|
|
|
|
|
nodeId: nodeId
|
|
|
|
|
})
|
|
|
|
|
.refresh();
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
});
|