diff --git a/frontend/front/src/components/layouts/HtSideBar/components/HtMenuItem.vue b/frontend/front/src/components/layouts/HtSideBar/components/HtMenuItem.vue index 165ce17..23ab7b3 100644 --- a/frontend/front/src/components/layouts/HtSideBar/components/HtMenuItem.vue +++ b/frontend/front/src/components/layouts/HtSideBar/components/HtMenuItem.vue @@ -78,9 +78,11 @@ return path.resolve(this.fullPath, routePath) }, handleLink() { - const routePath = this.routeChildren.path - const target = this.routeChildren.meta.target - + const routePath = this.routeChildren.path; + const target = this.routeChildren.meta.target; + console.log('打印是否触发这个routePath',isExternal(routePath)); + console.log('打印是否触发这个fullPath',isExternal(this.fullPath)); + console.log('打印是否触发这个target',target); if (target === '_blank') { if (isExternal(routePath)) { window.open(routePath) @@ -102,7 +104,12 @@ } else if ( this.$route.path !== path.resolve(this.fullPath, routePath) ) { - this.$router.push(path.resolve(this.fullPath, routePath)) + console.log('打印是否触发这个事件',this.$route.path,this.fullPath ) + if(this.fullPath == '/dataLargeScreen'){ + window.open('http://192.168.145.61:22582/yqyp-dp/#/chart/preview/1826433289372565505?id=1221', '_blank'); + }else{ + this.$router.push(path.resolve(this.fullPath, routePath)) + } } } }, diff --git a/frontend/front/src/views/pages/dataLargeScreen/index.vue b/frontend/front/src/views/pages/dataLargeScreen/index.vue new file mode 100644 index 0000000..63fc4e3 --- /dev/null +++ b/frontend/front/src/views/pages/dataLargeScreen/index.vue @@ -0,0 +1,15 @@ + + + + + -- libgit2 0.21.2