From 8d264fe3fe3de1fbc5c0f6ab25302633604dfa7c Mon Sep 17 00:00:00 2001 From: vapao Date: Wed, 15 Jan 2020 22:04:53 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/layout/Header.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/spug_web/src/layout/Header.js b/spug_web/src/layout/Header.js index a130b81..312534f 100644 --- a/spug_web/src/layout/Header.js +++ b/spug_web/src/layout/Header.js @@ -87,13 +87,9 @@ export default class extends React.Component { ]}/> )}/> - {this.state.notifies.length === 0 && ( -
- not found -
暂无未读通知
-
+ {this.state.notifies.length !== 0 && ( +
this.handleReadAll()}>全部 已读
)} -
this.handleReadAll()}>全部 已读
);