Commit bbd0ad93 authored by smallwei's avatar smallwei

fix(router): one router

parent 53ae151f
......@@ -98,6 +98,7 @@ RouterPlugin.install = function(router, store) {
// 处理是否为一级路由
children: !isChild ? (() => {
if (first) {
oMenu[propsDefault.path] = `${path}/index`;
return [{
component(resolve) { require([`../${component}.vue`], resolve) },
icon: icon,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment