| | |
| | | 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] != "" |
| | |
| | | |
| | | 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("/index"); |
| | | } |
| | | return null; |
| | | }, |
| | | // 京办免密登录 |
| | | // passJBFree() { |