diff --git a/yunyou_pavilion/src/router/index.js b/yunyou_pavilion/src/router/index.js index ee59e1086002aa024fd50c0852b6c670a424590d..883bdecfef1df9b1d2b2313ddb834eacf65116c5 100644 --- a/yunyou_pavilion/src/router/index.js +++ b/yunyou_pavilion/src/router/index.js @@ -46,14 +46,14 @@ const router = createRouter({ ] }, { - path:'/xiang', - name:'xiang', - component:xiang + path: '/xiang', + name: 'xiang', + component: xiang }, { - path:'/mysou', - name:'mysou', - component:Mysou + path: '/mysou', + name: 'mysou', + component: Mysou }, { path: '/about', @@ -62,6 +62,8 @@ const router = createRouter({ // this generates a separate chunk (About.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import('../views/AboutView.vue') + }, + { },{ path: '/login', name: 'login',