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()}>全部 已读
);