diff --git a/public/react/src/modules/courses/common/comments/CCommentItem.js b/public/react/src/modules/courses/common/comments/CCommentItem.js index d17837411..ea98747cc 100644 --- a/public/react/src/modules/courses/common/comments/CCommentItem.js +++ b/public/react/src/modules/courses/common/comments/CCommentItem.js @@ -174,7 +174,7 @@ class CCommentItem extends Component{ //
{item.content} {item.user_info.user_name}
// src={getImageUrl(`images/${item.image_url}`)} - const imgSrc = (!item.user_info.user_image_url || item.user_info.user_image_url === '--') ? `${getUrl()}/images/edu_user/anony.png` : item.user_info.user_image_url; + const imgSrc = (!item.user_info.user_image_url || item.user_info.user_image_url === '--') ? `edu_user/anony.png` : item.user_info.user_image_url; return (
diff --git a/public/react/src/modules/tpm/SiderBar.js b/public/react/src/modules/tpm/SiderBar.js index 7cee11cf2..0ec01ba75 100644 --- a/public/react/src/modules/tpm/SiderBar.js +++ b/public/react/src/modules/tpm/SiderBar.js @@ -87,7 +87,7 @@ class SiderBar extends Component { render() { return ( -
+ {this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?
@@ -129,8 +129,8 @@ class SiderBar extends Component {
-
- ); +
:""} + ); } } diff --git a/public/react/src/modules/tpm/TPMIndexHOC.js b/public/react/src/modules/tpm/TPMIndexHOC.js index 7b665ba0a..ef54b0ada 100644 --- a/public/react/src/modules/tpm/TPMIndexHOC.js +++ b/public/react/src/modules/tpm/TPMIndexHOC.js @@ -677,7 +677,10 @@ export function TPMIndexHOC(WrappedComponent) { {...this.state} {...this.dialogObj} />:""} - + {/* 注释掉了1440 影响到了手机屏幕的展示 */}