✨ 添加 删除节点确认 功能

This commit is contained in:
shufeng2012 committed 2026-07-24 15:08:48 +08:00
1 parent 347453d74d
commit 15a95f7a18
1 file changed
+3
+3
View File
@@ -106,6 +106,9 @@ async function addNode(token, pid, title, content) {
}
async function deleteNode(token, id) {
if (confirm("确认删除此节点?") == false) {
return;
}
try {
obj = {"id": id};
jsonBody = JSON.stringify(obj);