mirror of https://github.com/openspug/spug
U 优化通知展示
parent
d11c26c5ac
commit
8d264fe3fe
|
@ -87,13 +87,9 @@ export default class extends React.Component {
|
||||||
]}/>
|
]}/>
|
||||||
</List.Item>
|
</List.Item>
|
||||||
)}/>
|
)}/>
|
||||||
{this.state.notifies.length === 0 && (
|
{this.state.notifies.length !== 0 && (
|
||||||
<div>
|
|
||||||
<img src="https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg" alt="not found"/>
|
|
||||||
<div>暂无未读通知</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<div className={styles.notifyFooter} onClick={() => this.handleReadAll()}>全部 已读</div>
|
<div className={styles.notifyFooter} onClick={() => this.handleReadAll()}>全部 已读</div>
|
||||||
|
)}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu>
|
</Menu>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue