From 4e1859708f3c00c9a7b79a3489ac9a6640f8f7b7 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期二, 28 五月 2024 18:18:39 +0800 Subject: [PATCH] yuedu --- src/router/index.ts | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 1242777..49f42f3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,6 +13,7 @@ { path: '/index', name: 'index', + redirect: "/bookshelfList", meta: { auth: true }, component: () => import('@/views/index.vue'), children: [ @@ -49,13 +50,6 @@ ] }, { - path: '/home', - name: 'home', - meta: { auth: true, name: '闃呰鍣�' }, - component: Reader - }, - - { path: '/dictionary', name: 'dictionary', meta: { auth: true, name: '璇嶅吀' }, @@ -63,7 +57,12 @@ } ] }, - + { + path: '/home', + name: 'home', + meta: { auth: true, name: '闃呰鍣�' }, + component: Reader + }, { path: '/login', name: 'login', -- Gitblit v1.9.1