This commit is contained in:
weipengfei 2023-10-17 20:01:44 +08:00
parent 445b45e57e
commit deaa9f4fe9
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import { ChatLayout } from '@/views/chat/layout'
const routes: RouteRecordRaw[] = [ const routes: RouteRecordRaw[] = [
{ {
path: '/', path: '/root',
name: 'Root', name: 'Root',
component: ChatLayout, component: ChatLayout,
redirect: '/chat', redirect: '/chat',
@ -19,8 +19,8 @@ const routes: RouteRecordRaw[] = [
], ],
}, },
{ {
path: '/controller', path: '/',
name: 'controller', name: 'con',
component: () => import('@/views/controller/index.vue'), component: () => import('@/views/controller/index.vue'),
}, },