refactor(router): 移除测试模块路由并注释相关代码
This commit is contained in:
@@ -164,19 +164,19 @@ export const constantRoutes = [
|
|||||||
meta: { title: '个人中心', icon: 'user', titleKey: 'menu.personalCenter' }
|
meta: { title: '个人中心', icon: 'user', titleKey: 'menu.personalCenter' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/testModule',
|
|
||||||
component: Layout,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'index',
|
|
||||||
component: () => import('@/views/testModule/index'),
|
|
||||||
name: 'TestModule',
|
|
||||||
meta: { title: '测试模块', icon: 'component', titleKey: 'menu.testModule' }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
// {
|
||||||
|
// path: '/testModule',
|
||||||
|
// component: Layout,
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// path: 'index',
|
||||||
|
// component: () => import('@/views/testModule/index'),
|
||||||
|
// name: 'TestModule',
|
||||||
|
// meta: { title: '测试模块', icon: 'component', titleKey: 'menu.testModule' }
|
||||||
|
// }
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
|
|||||||
Reference in New Issue
Block a user