From e2bc8c2235bb207e7f28b0dfcd205982c6d00948 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, 2 Aug 2019 23:25:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/message/js/MessagSub.js | 4 ++-- public/react/src/modules/message/js/MessagePrivate.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/message/js/MessagSub.js b/public/react/src/modules/message/js/MessagSub.js index 6b29485d8..9beebdf68 100644 --- a/public/react/src/modules/message/js/MessagSub.js +++ b/public/react/src/modules/message/js/MessagSub.js @@ -487,10 +487,10 @@ class MessagSub extends Component{
{/*这里可以进行数据处理*/}
- + { - data===undefined? + data===undefined?"":data.length===0?

暂无数据哦~

diff --git a/public/react/src/modules/message/js/MessagePrivate.js b/public/react/src/modules/message/js/MessagePrivate.js index e75578298..ec7c20121 100644 --- a/public/react/src/modules/message/js/MessagePrivate.js +++ b/public/react/src/modules/message/js/MessagePrivate.js @@ -160,14 +160,13 @@ class MessagePrivate extends Component{ { - data===undefined? + data===undefined?"":data.length===0?

暂无数据哦~

:data.map((item,key)=>{ return( - {item.unread === true ?:""}
- ) })}