From 40d672fdbb05969c15c67f068000d6c8fbab984a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 31 May 2026 00:11:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9D=A2=E5=8C=85=E5=B1=91=E5=8F=8C?= =?UTF-8?q?=E6=96=9C=E6=9D=A0bug=20(/tmp=E6=98=BE=E7=A4=BA=E4=B8=BA//tmp)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/files.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/files.html b/web/app/files.html index 6f255000..068d4c6c 100644 --- a/web/app/files.html +++ b/web/app/files.html @@ -283,10 +283,11 @@ let accumulated=''; segments.forEach((seg,i)=>{ accumulated+='/'+seg;const p=accumulated; + const sep=i===0?'':'/'; if(i/${esc(seg)}`; + html+=`${sep}${esc(seg)}`; }else{ - html+=`/${esc(seg)}`; + html+=`${sep}${esc(seg)}`; } }); bcPath.innerHTML=html;