From 86af3c10e119701e0f625088ec8d07b78f561b83 Mon Sep 17 00:00:00 2001 From: liuyun Date: Sun, 11 Oct 2026 00:23:25 +0800 Subject: [PATCH] fix: render header in all layouts (sidebar layout has tools-only header) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 左右布局顶栏仅不含导航菜单,折叠/面包屑/全屏/暗黑/设置/用户等工具照常; 固定顶栏对所有布局生效(移除左右禁用)。 Co-Authored-By: Claude Opus 4.8 --- src/components/ty-header.vue | 2 +- src/components/ty-setting-panel.vue | 2 +- src/layouts/default.vue | 7 +++---- src/stores/modules/app.ts | 4 ---- stats.html | 2 +- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/components/ty-header.vue b/src/components/ty-header.vue index 6ff2c79..058125f 100644 --- a/src/components/ty-header.vue +++ b/src/components/ty-header.vue @@ -36,7 +36,7 @@ - +
固定顶栏 - +
固定底部 diff --git a/src/layouts/default.vue b/src/layouts/default.vue index c54d605..11015d0 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -1,7 +1,6 @@