🐛 我看还是把等号加上吧

This commit is contained in:
shufeng2012 committed 2026-07-27 13:32:06 +08:00
1 parent f056da1dfc
commit 0abba64ea8
1 file changed
+1 -1
+1 -1
View File
@@ -265,7 +265,7 @@ function loadMap(children_json) {
back.textContent = "← 返回上一层";
back.addEventListener("click", () => {
stack.pop();
var id = (stack.length > 0) ? stack[stack.length - 1] : 0;
var id = (stack.length >= 0) ? stack[stack.length - 1] : 0;
getNode(token, id).then(load_notes);
getNode(token, id).then(loadMap);
});