diff --git a/src/layout/components/Aside.vue b/src/layout/components/Aside.vue index 29a48ae..391613f 100644 --- a/src/layout/components/Aside.vue +++ b/src/layout/components/Aside.vue @@ -75,10 +75,19 @@ function handleAsideCollapse() { function handleMenuClick(route) { if (route.meta.type === "C") { - router.push({ + + + console.log(route.name) + if(route.path==='/datascreen'){ + const url = router.resolve({path: '/datascreen/'}).href + window.open(url, '_blank') + }else{ + router.push({ name: route.name, - }); - return; + }); + return; + } + } if (route.children && route.children.length) { route.meta.isExpand = !route.meta.isExpand;