From 0abba64ea8698123d180298c59208c85820a99af Mon Sep 17 00:00:00 2001 From: shufeng2012 <277665039@qq.com> Date: Mon, 27 Jul 2026 13:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E6=88=91=E7=9C=8B=E8=BF=98?= =?UTF-8?q?=E6=98=AF=E6=8A=8A=E7=AD=89=E5=8F=B7=E5=8A=A0=E4=B8=8A=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/public/js/dnfs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/public/js/dnfs.js b/static/public/js/dnfs.js index 83248cd..fd369f2 100644 --- a/static/public/js/dnfs.js +++ b/static/public/js/dnfs.js @@ -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); });