From 03f27a30ee8b211bb1846378aa0ff3c412889533 Mon Sep 17 00:00:00 2001 From: 2977094657 <2977094657@qq.com> Date: Fri, 13 Feb 2026 22:41:02 +0800 Subject: [PATCH] =?UTF-8?q?improvement(app-shell):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E6=98=BE=E7=A4=BA=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 首页与解密流程相关页面隐藏侧边栏,Wrapped 路由判断更完整 --- frontend/app.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/app.vue b/frontend/app.vue index 6ee997a..be1176f 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -57,7 +57,12 @@ const contentClass = computed(() => : 'flex-1 overflow-auto min-h-0' ) -const showSidebar = computed(() => !String(route.path || '').startsWith('/wrapped')) +const showSidebar = computed(() => { + const path = String(route.path || '') + if (path === '/') return false + if (path === '/decrypt' || path === '/detection-result' || path === '/decrypt-result') return false + return !(path === '/wrapped' || path.startsWith('/wrapped/')) +})