From 58d0bfc0a05fd3f645f31eba4fa7e2bf57e3b1df Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期三, 16 四月 2025 12:07:06 +0800
Subject: [PATCH] 1
---
src/layout/index.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index b815b1f..0b37c76 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -293,10 +293,14 @@
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');
+ if(key.indexOf("?") > -1) {
+ window.open(key + `&token=${TOKEN}`,'_blank');
+ }else {
+ window.open(key + `?token=${TOKEN}`,'_blank');
+ }
}
},
openSetting(){
--
Gitblit v1.9.3