From ce6d4baacf1b8bc9946216f33cbe723a3a686f05 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期四, 29 二月 2024 15:46:18 +0800 Subject: [PATCH] feat:点击播放视频 --- src/router/index.ts | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 3e9fdb9..5e4c968 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -3,7 +3,12 @@ const routes: Array<RouteRecordRaw> = [ { path: '/', - redirect: '/index', + redirect: '/login', + }, + { + path: '/login', + name: 'login', + component: () => import('@/views/login.vue'), }, { path: '/home', @@ -14,7 +19,12 @@ path: '/index', name: 'index', component: () => import('@/views/index/index.vue'), - } + }, + { + path: '/daoAnOffice', + name: 'daoAnOffice', + component: () => import('@/views/daoAnOffice/index.vue'), + }, ] }, ] -- Gitblit v1.8.0