From e8cc292b6dd36b627da5121ccc62c5e3dc5c2647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 15 Nov 2019 20:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/common/comments/CCommentItem.js | 2 +- public/react/src/modules/tpm/SiderBar.js | 6 +++--- public/react/src/modules/tpm/TPMIndexHOC.js | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) 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 影响到了手机屏幕的展示 */}