From 49ab8fef621667336ae5d5d73a3322f09f7dcf68 Mon Sep 17 00:00:00 2001 From: npmrun <1549469775@qq.com> Date: Sun, 19 Apr 2026 00:18:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(public-layout):=20no=20login=20link=20in=20?= =?UTF-8?q?header;=20fix=20logged-in=20false=20=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- app/layouts/public.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/layouts/public.vue b/app/layouts/public.vue index e2f6c27..65e830b 100644 --- a/app/layouts/public.vue +++ b/app/layouts/public.vue @@ -16,7 +16,7 @@ const profileSlug = computed(() => { return typeof s === 'string' && s.length ? s : '' }) -/** 顶栏「控制台」仅在看自己的 /@slug 时显示;浏览他人主页时隐藏 */ +/** 顶栏「控制台」仅在看自己的 /@slug 时显示;浏览他人主页时不显示控制台也不显示登录 */ const showPublicConsoleLink = computed(() => { if (!loggedIn.value || !user.value) { return false @@ -171,13 +171,6 @@ onMounted(() => { > 控制台 - - 登录 -