From 6c8b80f51e45802fc65b5b2dc23da29354e65a2f Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期一, 21 十月 2024 12:58:39 +0800
Subject: [PATCH] 1
---
src/layout/index.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 6672cb4..a7c9f67 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -284,16 +284,16 @@
// 濡傛灉娌℃湁鎵惧埌鍖归厤鐨刾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);
//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');
--
Gitblit v1.9.3