From deaa9f4fe9537e269fd76eaae89bec16f5427c7d Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 17 Oct 2023 20:01:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'), },