const routes = [ { path: '/', // 一级路由 name: 'home', component: home, children: [ { path: '/AssetPortrait',
// 二级路由 name: 'AssetPortrait', component: { render(c) { return c('router-view') } }, children: [ { path: '/AssetPortrait/AssetMaintenance',
// 三级路由 name: 'AssetMaintenance', component: AssetMaintenance }, { path: '/AssetPortrait/HostCheck', name: 'HostCheck', component: HostCheck, children: [ {
path: '/AssetPortrait/HostCheck/abc',
// 四级路由
name: 'HostCheckDetail',
component: HostCheckDetail } ] } ] }]