From 0aa4f9751aadb4abb3637bc74fb7f0b48dd7a23e Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期五, 08 十一月 2024 15:01:23 +0800
Subject: [PATCH] Merge branch 'new' of http://122.9.151.159:9090/r/smart-web into new
---
src/layout/index.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index f34284f..a7c9f67 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -284,19 +284,19 @@
// 濡傛灉娌℃湁鎵惧埌鍖归厤鐨刾ath锛岃繑鍥瀗ull
return null;
},
- handleSelect(key, keyPath) {
+ handleSelect(key, keyPath,index,routeResult) {
var MENU = this.$TOOL.data.get("MENU");
- var foundRoute = this.findRouteByPath(MENU, key);
+ var foundRoute = this.findRouteByPath(MENU, key);
//http://116.63.148.72:8080/xxl-job-admin
var TOKEN = this.$TOOL.cookie.get("TOKEN");
- if(key == '/i/浠诲姟璋冨害') {
- window.open("http://116.63.148.72:8080/xxl-job-admin");
+ if(key == "/myiframe/urlPath") { //浠诲姟璋冨害
+ this.$router.push({path: '/myiframe/urlPath',query:{name: foundRoute.name,src:foundRoute.origin}});
return;
}
- if(foundRoute.name != "鏁板瓧鐪嬫澘") {
+ if(foundRoute.isOpen != "2") {
this.$router.push({path: key});
}else {
- window.open(key + `?token= + ${TOKEN}`,'_blank');
+ window.open(key + `?token=${TOKEN}`,'_blank');
}
},
openSetting(){
--
Gitblit v1.9.3