diff --git a/yuthon_wechat/static/src/frontend/oauth_provider/wecom_oauth_provider.js b/yuthon_wechat/static/src/frontend/oauth_provider/wecom_oauth_provider.js index 83501f85e..6ee1ee437 100644 --- a/yuthon_wechat/static/src/frontend/oauth_provider/wecom_oauth_provider.js +++ b/yuthon_wechat/static/src/frontend/oauth_provider/wecom_oauth_provider.js @@ -59,7 +59,7 @@ publicWidget.registry.WecomAuthProviders = publicWidget.Widget.extend({ // &redirect_uri=http://82.156.218.102:8057/auth_oauth/signin& // state={"d":+"2531310",+"p":+5,+"r":+"http%3A%2F%2F82.156.218.102%3A8057%2Fweb"}&response_type=code&scope=snsapi_base#wechat_redirect let urlString = linkElement.getAttribute('href'); - + console.log("自动的链接",urlString) window.location.href = urlString; }, }) \ No newline at end of file