Explorar o código

Merge branch 'release-iframe-hb'

huangb %!s(int64=7) %!d(string=hai) anos
pai
achega
35f6faf3ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'