|
|
@ -524,7 +524,7 @@ class LoginDialog extends Component {
|
|
|
|
if (isRender === undefined) {
|
|
|
|
if (isRender === undefined) {
|
|
|
|
isRender = false
|
|
|
|
isRender = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log(this.props)
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Dialog open={true} id="DialogID"
|
|
|
|
<Dialog open={true} id="DialogID"
|
|
|
|
style={{ display: isRender==false? 'none' : ''}}
|
|
|
|
style={{ display: isRender==false? 'none' : ''}}
|
|
|
@ -638,7 +638,7 @@ class LoginDialog extends Component {
|
|
|
|
frameBorder="0"
|
|
|
|
frameBorder="0"
|
|
|
|
sandbox="allow-scripts allow-same-origin allow-top-navigation"
|
|
|
|
sandbox="allow-scripts allow-same-origin allow-top-navigation"
|
|
|
|
scrolling="no"
|
|
|
|
scrolling="no"
|
|
|
|
src="https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_login#wechat_redirect"></iframe>:""}
|
|
|
|
src={`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2f${window.location.host}%2fotherloginstart&response_type=code&scope=snsapi_login#wechat_redirect`}></iframe>:""}
|
|
|
|
{weixinlogin===true?<p className="clearfix">
|
|
|
|
{weixinlogin===true?<p className="clearfix">
|
|
|
|
<a className={"startlogin color-blue"} onClick={()=>this.hideweixinlogin()}>返回账号登录</a>
|
|
|
|
<a className={"startlogin color-blue"} onClick={()=>this.hideweixinlogin()}>返回账号登录</a>
|
|
|
|
</p>:""}
|
|
|
|
</p>:""}
|
|
|
|