From cf2c2a9c6ce4e4faae13531746ca412cbf874bc6 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 04 三月 2025 21:17:49 +0800
Subject: [PATCH] 测试完成

---
 src/App.vue |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 41fbbf5..30d9a8f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -2,7 +2,7 @@
   <div id="app">
     <router-view />
     <theme-picker />
-    <Assistant v-if="routertf" />
+    <!-- <Assistant v-if="routertf" /> -->
   </div>
 </template>
 
@@ -17,20 +17,13 @@
   },
   data() {
     return {
-      routers: this.$route.path.split("/").pop(),
+      routers: window.location.href,
       routertf: true,
     };
   },
   created() {
-    this.routertf = this.$route.query.param5;
-    console.log(this.routertf, "12");
-    // if (
-    //   this.routers == "outsideChainxj" ||
-    //   this.routers == "outsideChain" ||
-    //   this.routers == "outsideChainwt"
-    // ) {
-    //   this.routertf = false;
-    // }
+    var startIndex = this.routers.indexOf("param5=") + "param5=".length; // 鎵惧埌绗竴涓瓧绗︾殑浣嶇疆
+    this.routertf = JSON.parse(this.routers.substring(startIndex)); // 鎴彇浠� 'param5=' 涔嬪悗鐨勫唴瀹�
   },
   metaInfo() {
     return {

--
Gitblit v1.9.3