From fc5dcfa17caab9b6aa48d84aaaf1443a32720ef8 Mon Sep 17 00:00:00 2001
From: 少年 <1392120328@qq.com>
Date: 星期一, 04 三月 2024 15:33:59 +0800
Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/PM20221203225_MobileWeb

---
 src/components/login.vue |   35 +++++++++++------------------------
 1 files changed, 11 insertions(+), 24 deletions(-)

diff --git a/src/components/login.vue b/src/components/login.vue
index 9903b92..89a01fc 100644
--- a/src/components/login.vue
+++ b/src/components/login.vue
@@ -9,35 +9,22 @@
     return {};
   },
   mounted() {
-    this.getQueryString("focus-open-code");
-    // if (
-    //   window.location.href.match(/=(\S*)#/) &&
-    //   window.location.href.match(/=(\S*)#/)[1] != ""
-    // ) {
-    //   this.passFree();
-    // }
-    // console.log(1);
-    
-    // // 浜姙鍏嶅瘑鐧诲綍锛坲rl甯﹀弬"focus-open-code"锛�
-    // if (this.$route.query["focus-open-code"]) {
-    //   this.passJBFree();
-    // }
+    // 娴嬭瘯鐗堟湰鍏嶇櫥褰�
+    this.$router.push("/home");
+
+    // // 姝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