From 7a9793db36760dea1205d3850502892467313e8c Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Fri, 12 Jan 2024 07:59:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E6=B7=B7=E5=90=88=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E8=B7=B3=E8=BD=AC=E9=A6=96=E9=A1=B5=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/TagsView/index.vue | 12 +++++------- src/router/index.ts | 1 + 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index e85b9bff..093b6da2 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -12,13 +12,11 @@ > {{ translateRouteTitle(tag.title) }} - - - + diff --git a/src/router/index.ts b/src/router/index.ts index 009777e9..17a249a8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -24,6 +24,7 @@ export const constantRoutes: RouteRecordRaw[] = [ { path: "/", + name: "/", component: Layout, redirect: "/dashboard", children: [