diff --git a/src/router/index.js b/src/router/index.js index dc32b70..e578239 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,10 +1,10 @@ import { createRouter, createWebHistory } from 'vue-router' -import TabsLayout from '../layouts/TabsLayout.vue' +import BasicLayout from '../layouts/BasicLayout.vue' const routes = [ { path: '/', - component: TabsLayout, + component: BasicLayout, children: [ { path: '', @@ -35,7 +35,7 @@ const routes = [ meta: { title: '楼栋列表' } }, { - path: '/station/list', + path: 'community/station', name: 'StationList', component: () => import('../views/station/StationList.vue'), meta: { title: '驿站列表' }