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 | 22 +++++----------------- 1 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/components/login.vue b/src/components/login.vue index 9651c5c..89a01fc 100644 --- a/src/components/login.vue +++ b/src/components/login.vue @@ -9,19 +9,11 @@ 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: { @@ -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