diff --git a/anrui-riskcenter-ui/src/layout/components/Sidebar/index.vue b/anrui-riskcenter-ui/src/layout/components/Sidebar/index.vue index 5199d3e9bb..c9f25eae10 100644 --- a/anrui-riskcenter-ui/src/layout/components/Sidebar/index.vue +++ b/anrui-riskcenter-ui/src/layout/components/Sidebar/index.vue @@ -36,7 +36,7 @@ routes: [], params: { sourceSid: '0c6dbca4-4325-4db2-ae47-b645b7174552', - userSid: '', + userSid: '' } } }, @@ -108,16 +108,16 @@ console.log('55555', menus[i]) menus[i] = { path: menus[i].path, - component: Layout, + component: '', redirect: menus[i].path, - children: [menus[i]], + children: [menus[i]] } } } this.routes = menus console.log('左侧菜单', this.routes) return menus - }, - }, + } + } }