Browse Source

修改问题

master
yunuo970428 1 year ago
parent
commit
8aa694de99
  1. 10
      anrui-riskcenter-ui/src/layout/components/Sidebar/index.vue

10
anrui-riskcenter-ui/src/layout/components/Sidebar/index.vue

@ -36,7 +36,7 @@
routes: [], routes: [],
params: { params: {
sourceSid: '0c6dbca4-4325-4db2-ae47-b645b7174552', sourceSid: '0c6dbca4-4325-4db2-ae47-b645b7174552',
userSid: '', userSid: ''
} }
} }
}, },
@ -108,16 +108,16 @@
console.log('55555', menus[i]) console.log('55555', menus[i])
menus[i] = { menus[i] = {
path: menus[i].path, path: menus[i].path,
component: Layout, component: '',
redirect: menus[i].path, redirect: menus[i].path,
children: [menus[i]], children: [menus[i]]
} }
} }
} }
this.routes = menus this.routes = menus
console.log('左侧菜单', this.routes) console.log('左侧菜单', this.routes)
return menus return menus
}, }
}, }
} }
</script> </script>

Loading…
Cancel
Save