Files
EdgeAdmin/web/views/@default/nodes/index.js

11 lines
228 B
JavaScript
Raw Normal View History

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