|
|
@@ -47,10 +47,12 @@ class BindMenu extends Component {
|
|
|
this.setState({
|
|
|
errorMsg: ''
|
|
|
})
|
|
|
- window.location.href =
|
|
|
- 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' +
|
|
|
- this.paramId + '&redirect_uri=https%3a%2f%2fschool-api.ubtob.com%2fapi%2fschool%2fwxSchool%2fuser%2fuserLogin&response_type=code&scope=snsapi_userinfo&state=' +
|
|
|
- this.paramId + '&connect_redirect=1#wechat_redirect'
|
|
|
+ setTimeout(() => {
|
|
|
+ window.location.href =
|
|
|
+ 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' +
|
|
|
+ this.paramId + '&redirect_uri=https%3a%2f%2fschool-api.ubtob.com%2fapi%2fschool%2fwxSchool%2fuser%2fuserLogin&response_type=code&scope=snsapi_userinfo&state=' +
|
|
|
+ this.paramId + '&connect_redirect=1#wechat_redirect'
|
|
|
+ }, 200)
|
|
|
}
|
|
|
|
|
|
} else if (this.paramType === 'open') {
|