src/container/home/index.vue
@@ -99,7 +99,8 @@ id: 6, children: [ { label: '报表生成1' label: '设计器', href: '/mdc/ureport/designer' }, { label: '报表生成1' @@ -134,8 +135,8 @@ pathName: 'deviceType' }, { label: '机床维护', pathName: 'devicemaintenance' label: '机床采集', pathName: 'machineList' } ] }, @@ -165,8 +166,10 @@ if(item.pathName) { this.$router.push({name: item.pathName,params: item.params,query: item.query}) } } else {//二级菜单 } else if(item.pathName){//二级菜单 this.$router.push({name: item.pathName,params: item.params,query: item.query}) } else if(item.href) { window.open(item.href) } }, },