fix:优化快速查询模块
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user