From 01517c148ade438937acca1a0d53c225cff87515 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 22 十一月 2024 15:00:00 +0800 Subject: [PATCH] 收藏 --- src/router/index.ts | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 18e560d..997775c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -9,6 +9,7 @@ { path: '/', component: Layout, + redirect:'/home', children: [ { path: '/index', @@ -60,6 +61,12 @@ name: 'newWord', meta: { auth: true, name: '鐢熻瘝' }, component: () => import('@/views/components/newWord.vue') + }, + { + path: '/wrongQuestion', + name: 'wrongQuestion', + meta: { auth: true, name: '閿欓' }, + component: () => import('@/views/components/wrongQuestion.vue') } ] }, -- Gitblit v1.9.1