From a616aa5017406f851abfda3a3e446feed3f10e60 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期二, 27 二月 2024 17:26:53 +0800
Subject: [PATCH] 接口更新

---
 src/components/login.vue |   33 ++++++++++-----------------------
 1 files changed, 10 insertions(+), 23 deletions(-)

diff --git a/src/components/login.vue b/src/components/login.vue
index 9fccbff..89a01fc 100644
--- a/src/components/login.vue
+++ b/src/components/login.vue
@@ -9,35 +9,22 @@
     return {};
   },
   mounted() {
-     this.$router.push("/index");
-    // this.getQueryString("focus-open-code");
-    // if (
-    //   window.location.href.match(/=(\S*)#/) &&
-    //   window.location.href.match(/=(\S*)#/)[1] != ""
-    // ) {
-    //   this.passFree();
-    // }
+    // 娴嬭瘯鐗堟湰鍏嶇櫥褰�
+    this.$router.push("/home");
 
-    // // 浜姙鍏嶅瘑鐧诲綍锛坲rl甯﹀弬"focus-open-code"锛�
-    // if (this.$route.query["focus-open-code"]) {
-    //   this.passJBFree();
-    // }
+    // // 姝e紡鐗堢涓夋柟鐧诲綍
+    // this.getQueryString("focus-open-code");
   },
 
   methods: {
     getQueryString(name) {
-      this.$router.push("/index");
-      // var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
-      // var r = window.location.search.substr(1).match(reg);
-      // if (r != null) {
-      //   this.$router.push("/index");
-      // }
-      // return null;
+      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
+      var r = window.location.search.substr(1).match(reg);
+      if (r != null) {
+        this.$router.push("/home");
+      }
+      return null;
     },
-    // 浜姙鍏嶅瘑鐧诲綍
-    // passJBFree() {
-    //   // this.$router.push("/index");
-    // },
   },
 };
 </script>

--
Gitblit v1.9.3