{
path: 'system',
component: { // 这时路由页面正常显示, 但这时会嵌套一层router-view; 如果把component注释掉, 页面就空了
render: h => h('router-view')
},
children: [{
path: '',
redirect: 'time'
}, {
path: 'time',
component: TimeSet
}]
}
可以,不过那样就没必要再设计成层级的了,而且组件里的router-view的层级关系也要对应好