commit
a680f11166
|
|
@ -273,7 +273,7 @@
|
||||||
showMenu(route) {
|
showMenu(route) {
|
||||||
this.pmenu = route;
|
this.pmenu = route;
|
||||||
this.nextMenu = this.filterUrl(route.children);
|
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})
|
this.$router.push({path: route.path})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue