Commit 68d55e91a0d3efeb3494de277c799803b917ed64
1 parent
ec30ea66
Exists in
dev
fix:提交数据大屏代码
Showing
2 changed files
with
26 additions
and
4 deletions
Show diff stats
frontend/front/src/components/layouts/HtSideBar/components/HtMenuItem.vue
@@ -78,9 +78,11 @@ | @@ -78,9 +78,11 @@ | ||
78 | return path.resolve(this.fullPath, routePath) | 78 | return path.resolve(this.fullPath, routePath) |
79 | }, | 79 | }, |
80 | handleLink() { | 80 | handleLink() { |
81 | - const routePath = this.routeChildren.path | ||
82 | - const target = this.routeChildren.meta.target | ||
83 | - | 81 | + const routePath = this.routeChildren.path; |
82 | + const target = this.routeChildren.meta.target; | ||
83 | + console.log('打印是否触发这个routePath',isExternal(routePath)); | ||
84 | + console.log('打印是否触发这个fullPath',isExternal(this.fullPath)); | ||
85 | + console.log('打印是否触发这个target',target); | ||
84 | if (target === '_blank') { | 86 | if (target === '_blank') { |
85 | if (isExternal(routePath)) { | 87 | if (isExternal(routePath)) { |
86 | window.open(routePath) | 88 | window.open(routePath) |
@@ -102,7 +104,12 @@ | @@ -102,7 +104,12 @@ | ||
102 | } else if ( | 104 | } else if ( |
103 | this.$route.path !== path.resolve(this.fullPath, routePath) | 105 | this.$route.path !== path.resolve(this.fullPath, routePath) |
104 | ) { | 106 | ) { |
105 | - this.$router.push(path.resolve(this.fullPath, routePath)) | 107 | + console.log('打印是否触发这个事件',this.$route.path,this.fullPath ) |
108 | + if(this.fullPath == '/dataLargeScreen'){ | ||
109 | + window.open('http://192.168.145.61:22582/yqyp-dp/#/chart/preview/1826433289372565505?id=1221', '_blank'); | ||
110 | + }else{ | ||
111 | + this.$router.push(path.resolve(this.fullPath, routePath)) | ||
112 | + } | ||
106 | } | 113 | } |
107 | } | 114 | } |
108 | }, | 115 | }, |
frontend/front/src/views/pages/dataLargeScreen/index.vue
0 → 100644