src/components/login.vue
@@ -9,8 +9,8 @@ return {}; }, mounted() { this.$router.push("/index"); // this.getQueryString("focus-open-code"); // this.$router.push("/index"); this.getQueryString("focus-open-code"); // if ( // window.location.href.match(/=(\S*)#/) && // window.location.href.match(/=(\S*)#/)[1] != "" @@ -29,7 +29,7 @@ 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; },