Browse Source

sass登录微信样式调整

huangb 7 năm trước cách đây
mục cha
commit
d07b95f2cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'