diff --git a/src/forge/Head/Footer.jsx b/src/forge/Head/Footer.jsx
index 3998a3c3..52d62949 100644
--- a/src/forge/Head/Footer.jsx
+++ b/src/forge/Head/Footer.jsx
@@ -19,10 +19,11 @@ function Footer(){
return(
- {value && showhtml(value)}
- {/*
+ {/* {value && showhtml(value)} */}
+
-
+ {value && showhtml(value)}
+ {/*
@@ -57,8 +58,8 @@ function Footer(){
©Copyright 2007~2021 国防科技大学Gitlink团队 & IntelliDE
湘ICP备 17009477号
-
-
*/}
+
*/}
+
)
}
diff --git a/src/forge/Index.js b/src/forge/Index.js
index c2e36916..6620bd86 100644
--- a/src/forge/Index.js
+++ b/src/forge/Index.js
@@ -60,12 +60,6 @@ class Index extends Component {
)}
>
- {/* (
-
- )}
- > */}
(
@@ -73,12 +67,12 @@ class Index extends Component {
)}
>
- (
)}
- >
+ > */}
);
@@ -90,10 +84,3 @@ export default withRouter(
parentSelector: ".newMain",
})(CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(Index))))
);
-
-// export default withRouter(
-// ImageLayerOfCommentHOC({
-// imgSelector: ".imageLayerParent img, .imageLayerParent .imageTarget",
-// parentSelector: ".newMain",
-// })(Index)
-// );
diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js
index 40b6acc4..3c5d76b1 100644
--- a/src/modules/tpm/TPMIndexHOC.js
+++ b/src/modules/tpm/TPMIndexHOC.js
@@ -150,10 +150,15 @@ export function TPMIndexHOC(WrappedComponent) {
}
fetchUsers = () => {
+ console.log(this.props.match)
if (this.props.match.path === "/") {
this.setState({
publicNav:false
})
+ }else{
+ this.setState({
+ publicNav:true
+ })
}
let url = `/users/get_user_info.json`;
axios.get(url).then((response) => {