From 42f62d9cd6af11fdbc9e8012b6d0c3faba8c1e0e Mon Sep 17 00:00:00 2001 From: lizhipeng Date: Thu, 5 Feb 2026 10:45:02 +0800 Subject: [PATCH] fix --- src/router/index.ts | 2 +- src/views/home/left-nav.vue | 11 ++++++++++- src/views/home/test.vue | 5 ++++- src/views/login/css/style.css | 2 ++ src/views/login/index.vue | 1 + src/views/login/less/style.less | 2 ++ 6 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 9c81c40..980b8a4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -40,7 +40,7 @@ const router = createRouter({ component: () => import('../views/home/index.vue'), children: [ { - path: 'test', + path: 'test/:id', name: 'test', component: () => import('../views/home/test.vue'), meta: { topNavStyle: '2' } diff --git a/src/views/home/left-nav.vue b/src/views/home/left-nav.vue index e5c9d89..0b4174a 100644 --- a/src/views/home/left-nav.vue +++ b/src/views/home/left-nav.vue @@ -25,7 +25,7 @@
{{ item.name }}
-
+
{{ item.name }}