Fix: Issues

This commit is contained in:
sylor_huang@126.com 2020-08-20 11:44:27 +08:00
parent 0922df3875
commit 3b0c708d82
1 changed files with 3 additions and 6 deletions

View File

@ -141,10 +141,7 @@ class Infos extends Component {
<Button
block
className="text-button-grey"
href={`${
mygetHelmetapi &&mygetHelmetapi.new_course&&
mygetHelmetapi.new_course.edit_account
}`}
href={`${document.domain}/accounts/${user.login}`}
target="_blank"
>
{" "}
@ -167,7 +164,7 @@ class Infos extends Component {
</div>
<div className="width100 inline-block mt20">
<Link
to={`/users/${user && user.login}/watchers`}
to={`${document.domain}/users/${user && user.login}/user_watchlist`}
className={`with50 text-center pull-left ${route_type === "watchers" ? "text-primary" : ""}`}
onClick={() =>this.route_link("watchers")}
>
@ -175,7 +172,7 @@ class Infos extends Component {
<span>{user && user.watching_count}</span>
</Link>
<Link
to={`/users/${user && user.login}/fan_users`}
to={`${document.domain}/users/${user && user.login}/user_fanslist`}
onClick={() =>this.route_link("fan_users")}
className={`with50 text-center pull-left ${route_type === "fan_users" ? "text-primary" : ""}`}
>