|
@@ -273,7 +273,6 @@ const getMenu = () => {
|
|
|
let cObj = {
|
|
|
path: item.path,
|
|
|
component: Layout,
|
|
|
- name: formatStr(item.path),
|
|
|
meta: { title: item.name, icon: 'dashboard' },
|
|
|
}
|
|
|
if (item.children && item.children.length > 0) {
|
|
@@ -295,7 +294,6 @@ const getMenu = () => {
|
|
|
})
|
|
|
}
|
|
|
getMenu()
|
|
|
-console.log(asyncRoutes)
|
|
|
export const constantRoutes = [
|
|
|
{
|
|
|
path: '/login',
|