From dda7d12ed9520176a43edc64651b8d220e470f93 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 05 三月 2024 17:01:41 +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