forked from Gitlink/forgeplus-react
Fix: Issues
This commit is contained in:
parent
3b0c708d82
commit
e0e6cdcc79
|
@ -49,7 +49,7 @@ class m_editor extends Component {
|
|||
height="600px"
|
||||
language={language ? language : "plaintext"}
|
||||
theme={"vs-grey"}
|
||||
defaultValue="请输入内容"
|
||||
defaultValue=""
|
||||
value={editorValue}
|
||||
options={editor_options}
|
||||
onChange={this.changeEditor}
|
||||
|
|
|
@ -141,7 +141,7 @@ class Infos extends Component {
|
|||
<Button
|
||||
block
|
||||
className="text-button-grey"
|
||||
href={`${document.domain}/accounts/${user.login}`}
|
||||
href={`${window.location.protocol}://${document.domain}/accounts/${user.login}`}
|
||||
target="_blank"
|
||||
>
|
||||
{" "}
|
||||
|
@ -164,7 +164,7 @@ class Infos extends Component {
|
|||
</div>
|
||||
<div className="width100 inline-block mt20">
|
||||
<Link
|
||||
to={`${document.domain}/users/${user && user.login}/user_watchlist`}
|
||||
to={`${window.location.protocol}://${document.domain}/users/${user && user.login}/user_watchlist`}
|
||||
className={`with50 text-center pull-left ${route_type === "watchers" ? "text-primary" : ""}`}
|
||||
onClick={() =>this.route_link("watchers")}
|
||||
>
|
||||
|
@ -172,7 +172,7 @@ class Infos extends Component {
|
|||
<span>{user && user.watching_count}</span>
|
||||
</Link>
|
||||
<Link
|
||||
to={`${document.domain}/users/${user && user.login}/user_fanslist`}
|
||||
to={`${window.location.protocol}://${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" : ""}`}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue