From e5b31f6979672ab876a82ae344d500bc9e0ad533 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 06 九月 2023 09:28:47 +0800 Subject: [PATCH] 修改目录接口 --- src/router/index.js | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 1468166..0aedc33 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -69,14 +69,15 @@ { path: '', component: Layout, - redirect: 'index', + redirect: '/main', + hidden: true, children: [ - { - path: 'index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } - } + // { + // path: 'main', + // component: () => import('@/views/main/index'), + // name: 'Index', + // meta: { title: '专家信息', icon: 'dashboard', affix: true } + // } ] }, { -- Gitblit v1.9.2