From f8f6aef5508148a784c05e71366796bb0b61164d Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期二, 18 十一月 2025 14:04:31 +0800
Subject: [PATCH] Merge branch 'new' of http://122.9.151.159:9090/r/smart-web into new
---
src/layout/index.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index a7c9f67..0b37c76 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -296,7 +296,11 @@
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