修改资料-url

This commit is contained in:
caishi 2021-03-09 14:09:06 +08:00
parent d68d8318c1
commit 2c034f5dff
1 changed files with 2 additions and 5 deletions

View File

@ -137,7 +137,7 @@ class Infos extends Component {
render() {
const { current_user, mygetHelmetapi } = this.props;
const { current_user, main_web_site_url } = this.props;
const { username } = this.props.match.params;
const { user, isSpin, project_type, route_type } = this.state;
@ -167,10 +167,7 @@ class Infos extends Component {
<Button
block
className="text-button-grey"
href={`${
mygetHelmetapi &&mygetHelmetapi.new_course&&
mygetHelmetapi.new_course.edit_account
}`}
href={`${main_web_site_url ? main_web_site_url :"https://osredm.com/"}users/${user.login}/profiles`}
>
{" "}
<i className="iconfont icon-shezhi4 font-15 mr5"></i>