Commit da216c9fa605f75aa1f61c4ac18ab2bd1c57e997
1 parent
40399bf6
扫码支付
Showing
1 changed file
with
10 additions
and
10 deletions
src/components/plateNumber.vue
@@ -315,16 +315,16 @@ export default { | @@ -315,16 +315,16 @@ export default { | ||
315 | 315 | ||
316 | console.log(window.location) | 316 | console.log(window.location) |
317 | console.log(this.$route.query) | 317 | console.log(this.$route.query) |
318 | - if (this.$utils.clientBrowser() == "微信") { | ||
319 | - var appID = this.$utils.myVxAppId; | ||
320 | - var code = this.getUrlParam('code'); | ||
321 | - var local = window.location.href; | ||
322 | - if (code == null || code === '') { | ||
323 | - 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' | ||
324 | - } else { | ||
325 | - return code; | ||
326 | - } | ||
327 | - } | 318 | + // if (this.$utils.clientBrowser() == "微信") { |
319 | + // var appID = this.$utils.myVxAppId; | ||
320 | + // var code = this.getUrlParam('code'); | ||
321 | + // var local = window.location.href; | ||
322 | + // if (code == null || code === '') { | ||
323 | + // 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' | ||
324 | + // } else { | ||
325 | + // return code; | ||
326 | + // } | ||
327 | + // } | ||
328 | 328 | ||
329 | 329 | ||
330 | let params = this.$route.query | 330 | let params = this.$route.query |