Browse Source

sass登录微信样式调整

huangb 7 years ago
parent
commit
d07b95f2cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.html

+ 1 - 1
app.html

@@ -107,7 +107,7 @@
         id: 'login_container',
         appid: 'wx4511639d0a71b945',
         scope: 'snsapi_login',
-        redirect_uri: encodeURIComponent(document.location.origin + '?appId=' + appId + '&returnURL=' + returnUrl + '&baseUrl=' + baseUrl + '&type=wx'),
+        redirect_uri: encodeURIComponent(document.location.origin + document.location.pathname + '?appId=' + appId + '&returnURL=' + returnUrl + '&baseUrl=' + baseUrl + '&type=wx'),
         state: '',
         style: '',
         href: 'https://sso.ubtob.com/wx.css'