From a6271f616d728780c98d83cdf5ffdaef47a1e025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 1 Aug 2019 09:58:08 +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 --- public/react/src/modules/message/js/MessagChat.js | 2 +- public/react/src/modules/message/js/MessagSub.js | 2 +- public/react/src/modules/message/js/MessagePrivate.js | 2 +- public/react/src/modules/message/js/Messagerouting.js | 7 ++++++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/message/js/MessagChat.js b/public/react/src/modules/message/js/MessagChat.js index e32ccd353..a9e0cf05b 100644 --- a/public/react/src/modules/message/js/MessagChat.js +++ b/public/react/src/modules/message/js/MessagChat.js @@ -218,7 +218,7 @@ class MessagChat extends Component{ return(
this.Clickedontheuser(item.target)}>
- +

diff --git a/public/react/src/modules/message/js/MessagSub.js b/public/react/src/modules/message/js/MessagSub.js index bf61fc3ff..d53369c1f 100644 --- a/public/react/src/modules/message/js/MessagSub.js +++ b/public/react/src/modules/message/js/MessagSub.js @@ -119,7 +119,7 @@ class MessagSub extends Component{ return(

- +

{item.trigger_user.name} diff --git a/public/react/src/modules/message/js/MessagePrivate.js b/public/react/src/modules/message/js/MessagePrivate.js index 1e21b2d76..9d13050e7 100644 --- a/public/react/src/modules/message/js/MessagePrivate.js +++ b/public/react/src/modules/message/js/MessagePrivate.js @@ -118,7 +118,7 @@ class MessagePrivate extends Component{

this.smyJump(3,item.target)}> this.myCome(item)}> - this.myCome(item)} src={item.target.image_url} className="radius myimgw48 myimgh48"/> + this.myCome(item)} src={getImageUrl("/images/"+item.target.image_url)} className="radius myimgw48 myimgh48"/>

diff --git a/public/react/src/modules/message/js/Messagerouting.js b/public/react/src/modules/message/js/Messagerouting.js index 0eab00a8a..e00f44607 100644 --- a/public/react/src/modules/message/js/Messagerouting.js +++ b/public/react/src/modules/message/js/Messagerouting.js @@ -154,7 +154,12 @@ class Messagerouting extends Component{ {/*头像*/}

- + { + this.props.current_user!== undefined? + + :"" + } +

{this.props.current_user&&this.props.current_user.username}

{this.props.current_user&&this.props.current_user.user_identity}