修改注册链接

This commit is contained in:
何童崇 2021-11-16 17:29:18 +08:00
parent 7c9bf94b91
commit b926be1c58
1 changed files with 5 additions and 4 deletions

View File

@ -433,7 +433,8 @@ class LoginDialog extends Component {
}
};
getloginurl = (url) => {
window.location.href = url;
let settings=JSON.parse(localStorage.chromesetting);
window.location.href =settings.main_web_site_url+url;
};
openweixinlogin = () => {
this.setState({
@ -580,9 +581,9 @@ class LoginDialog extends Component {
<label htmlFor="p_autolog" style={{ top: '0px' }}>下次自动登录</label>
</span>
<span className="fr">
<a onClick={(url) => this.getloginurl("https://osredm.com/account/lost_password")}
className="mr3 color-grey-9">找回密码</a><em className="vertical-line"></em>
<a onClick={(url) => this.getloginurl("https://osredm.com/user_join")} className="color-grey-9">注册</a>
{/* <a onClick={(url) => this.getloginurl("/account/lost_password")}
className="mr3 color-grey-9">找回密码</a><em className="vertical-line"></em> */}
<a onClick={(url) => this.getloginurl("/user_join")} className="color-grey-9">注册</a>
</span>
</p>