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 | 24 ++++++------------------ 1 files changed, 6 insertions(+), 18 deletions(-) diff --git a/src/components/login.vue b/src/components/login.vue index a45087e..89a01fc 100644 --- a/src/components/login.vue +++ b/src/components/login.vue @@ -9,19 +9,11 @@ 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: { @@ -29,14 +21,10 @@ var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) { - this.$router.push("/index"); + this.$router.push("/home"); } return null; }, - // 浜姙鍏嶅瘑鐧诲綍 - // passJBFree() { - // // this.$router.push("/index"); - // }, }, }; </script> -- Gitblit v1.9.3