From 37bb6da78f4435f83cff5f2193cbdb46eebaad12 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期三, 28 二月 2024 09:24:57 +0800 Subject: [PATCH] 大屏创建 --- 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