commit
a680f11166
|
@ -273,7 +273,7 @@
|
|||
showMenu(route) {
|
||||
this.pmenu = route;
|
||||
this.nextMenu = this.filterUrl(route.children);
|
||||
if(!route.children && route.component){
|
||||
if((!route.children || route.children.length == 0) && route.component){
|
||||
this.$router.push({path: route.path})
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue