From 64d60b27dc26c62b32ef85bbc0eb3c8846cf6b74 Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Tue, 26 May 2026 12:04:42 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index e6bb2c3..1f97a93 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -155,12 +155,13 @@ export const constantRoutes: RouteRecordRaw[] = [ path: '', component: Layout, redirect: '/index', + hidden: true, children: [ { - path: '/index', - component: () => import('@/views/index.vue'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } + path: 'index', + component: () => import('@/views/equipmentList/list.vue'), + name: 'EquipmentList', + meta: { title: '设备列表', icon: 'equipment', affix: true } } ] },