From 0d70f01c3553b6c33e5ee86f89f8d0fbd42825d5 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 19 六月 2024 20:00:41 +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