From 4042c3f492b850015b7e5dc0e9da9adf824780e0 Mon Sep 17 00:00:00 2001 From: zhontai <361243234@qq.com> Date: Tue, 10 Dec 2024 10:09:19 +0800 Subject: [PATCH] =?UTF-8?q?my-link=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=8A=A0=E7=B2=97=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/my-link/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/zhontai.ui.admin.vue3/src/components/my-link/index.vue b/ui/zhontai.ui.admin.vue3/src/components/my-link/index.vue index 20667a70..5ba7d43e 100644 --- a/ui/zhontai.ui.admin.vue3/src/components/my-link/index.vue +++ b/ui/zhontai.ui.admin.vue3/src/components/my-link/index.vue @@ -1,5 +1,5 @@ @@ -11,6 +11,8 @@ import { useRouter } from 'vue-router' const router = useRouter() const model = defineModel({ type: Object }) +const bold = defineModel('bold', { type: Boolean, default: false }) + const href = computed(() => { const { href } = router.resolve({ path: model.value.path, @@ -28,4 +30,8 @@ const onToPage = () => { } - +