diff --git a/src/router/index.ts b/src/router/index.ts index 5615342..af88c38 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -6,7 +6,7 @@ import { ChatLayout } from '@/views/chat/layout' const routes: RouteRecordRaw[] = [ { - path: '/', + path: '/root', name: 'Root', component: ChatLayout, redirect: '/chat', @@ -19,8 +19,8 @@ const routes: RouteRecordRaw[] = [ ], }, { - path: '/controller', - name: 'controller', + path: '/', + name: 'con', component: () => import('@/views/controller/index.vue'), },