From e2fdfe540eaf160dc7d063c60667041edcc64e86 Mon Sep 17 00:00:00 2001 From: gaoshp <291585735@qq.com> Date: 星期二, 05 十一月 2024 22:55:14 +0800 Subject: [PATCH] 处理显示名称 --- 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