fix:优化快速查询模块

This commit is contained in:
wuzhihao
2024-08-30 15:40:31 +08:00
parent 6bb0947da9
commit bde1796ebc
2 changed files with 12 additions and 5 deletions

View File

@@ -13,10 +13,17 @@ const routes = [
meta: { title: '登录', activeMenu: '/login' }
},
{
path: '/',
// 首页
path: '/index',
component: Layout,
redirect: '/disease-resistance/disease-resistance',
meta: { title: '首页', activeMenu: '/disease-resistance/disease-resistance' }
children: [
{
path: '/index/index',
component: () =>
import('../views/index/index.vue'),
meta: { title: '首页', activeMenu: '/index/index' }
}
]
},
{
// 遗传病风险
@@ -161,7 +168,7 @@ router.beforeEach((to, from, next) => {
}
next('/login')
}
next('/login')
// next('/login')
}
)
export default router