diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js
index 87ecb601c..5b6ac30f5 100644
--- a/public/react/src/modules/tpm/NewHeader.js
+++ b/public/react/src/modules/tpm/NewHeader.js
@@ -1087,43 +1087,42 @@ class NewHeader extends Component {
<%= link_to '注册', user_join_path, :className => "ml5" %>
*/}
- {
- user === undefined ?
-
- this.educoderlogin()} className="mr5 color-white">登录
-
- 注册
- : user.login === "" ?
- this.educoderlogin()} className="mr5 color-white">登录
-
- 注册
- :
-
-
-
-
-
-
- {/*{user.username}*/}
- - 我的个人主页
- {coursestypes === true ? "" : - {this.props.user && this.props.user.main_site === false ? "我的课堂" : "我的教学课堂"}
}
- {/* p 老师 l 学生 */}
- {shixuntype === true ? "" : - 我的实训项目
}
- {pathstype === true ? "" : - {this.props.user && this.props.user.main_site === false ? "我的课程" : "我的实践课程"}
}
- {this.props.user && this.props.user.main_site === true ? - 我的开发项目
: ""}
- {/*- 我的众包
*/}
- -
- 客户管理
-
- {
- this.props.Headertop && this.props.Headertop.college_identifier &&
- - 学院统计
- }
- {
- this.props.Headertop && this.props.Headertop.laboratory_user &&
- - 后台管理
- }
+ { user===undefined?
+
+ this.educoderlogin()} className="mr5 color-white">登录
+
+ 注册
+ :user.login===""?
+ this.educoderlogin()} className="mr5 color-white">登录
+
+ 注册
+ :
+
+
+
+
+
+
+ {/*{user.username}*/}
+ - 我的个人主页
+ {coursestypes===true?"":- {this.props.user&&this.props.user.main_site===false?"我的课堂":"我的教学课堂"}
}
+ {/* p 老师 l 学生 */}
+ {shixuntype===true?"":- 我的实训项目
}
+ {pathstype===true?"":- {this.props.user&&this.props.user.main_site===false?"我的课程":"我的实践课程"}
}
+ {this.props.user&&this.props.user.main_site===true?- 我的开发项目
:""}
+ {/*- 我的众包
*/}
+ -
+ 客户管理
+
+ {
+ this.props.Headertop && this.props.Headertop.college_identifier &&
+ - 学院统计
+ }
+ {
+ this.props.Headertop && this.props.Headertop.laboratory_user &&
+ - 后台管理
+ }
- 账号管理
{/*- this.educoderlogin()} >登入测试接口
*/}
@@ -1135,15 +1134,24 @@ class NewHeader extends Component {
{/*this.educoderlogin()} >登录*/}
this.educoderloginysl()}>退出
-
-
-
- }
- {/*href="https://www.educoder.net/login"*/}
-
+ }
+ {/*href="https://www.educoder.net/login"*/}
+
+