From 217d79ce98d1b642343621c6c3995084d9a16347 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Thu, 31 Oct 2024 07:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0item?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/nav/NavBar.vue | 24 ++++++++++-------------- src/components/nav/NavBarEntryItem.vue | 17 ++++++++++++----- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/src/components/nav/NavBar.vue b/src/components/nav/NavBar.vue index 4eb057a..c675faf 100644 --- a/src/components/nav/NavBar.vue +++ b/src/components/nav/NavBar.vue @@ -2,6 +2,7 @@ import {getAssetURL} from "@/utils/function.ts"; import NavBarEntryItem from "@/components/nav/NavBarEntryItem.vue"; +import {computed} from "vue"; type Widget = { icon: string[] @@ -27,22 +28,23 @@ const littleWidget: Widget[] = [ } ] const logoUrl = getAssetURL("logo-c.png") +const logoType: string = "logo"; +const showLogo = computed(() => logoType === 'text') - \ No newline at end of file