diff --git a/src/components/plateNumber.vue b/src/components/plateNumber.vue index f1c3560..03613ce 100644 --- a/src/components/plateNumber.vue +++ b/src/components/plateNumber.vue @@ -315,16 +315,16 @@ export default { console.log(window.location) console.log(this.$route.query) - if (this.$utils.clientBrowser() == "微信") { - var appID = this.$utils.myVxAppId; - var code = this.getUrlParam('code'); - var local = window.location.href; - if (code == null || code === '') { - window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='+appID+'&redirect_uri='+encodeURIComponent(local)+'&response_type=code&scope=snsapi_userinfo&state=1,0#wechat_redirect' - } else { - return code; - } - } + // if (this.$utils.clientBrowser() == "微信") { + // var appID = this.$utils.myVxAppId; + // var code = this.getUrlParam('code'); + // var local = window.location.href; + // if (code == null || code === '') { + // window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='+appID+'&redirect_uri='+encodeURIComponent(local)+'&response_type=code&scope=snsapi_userinfo&state=1,0#wechat_redirect' + // } else { + // return code; + // } + // } let params = this.$route.query