Commit 60a67312 authored by 李腾's avatar 李腾

fix: 消息提醒他弹框新增收缩按钮

parent dd227fc6
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Badge, notification, Spin } from 'antd'; import { Badge, notification, Spin } from 'antd';
import { CloseOutlined } from '@ant-design/icons'; import { CloseOutlined, DoubleLeftOutlined, DoubleRightOutlined } from '@ant-design/icons';
import classNames from 'classnames'; import classNames from 'classnames';
import { useHistory } from 'react-router-dom'; import { useHistory } from 'react-router-dom';
// import copy from 'copy-to-clipboard'; // import copy from 'copy-to-clipboard';
...@@ -19,7 +19,7 @@ const Horn = props => { ...@@ -19,7 +19,7 @@ const Horn = props => {
onClick={toggle} onClick={toggle}
> >
<span className={styles['horn--btn']} onClick={e => onStow(e)}> <span className={styles['horn--btn']} onClick={e => onStow(e)}>
{stowClass ? '<' : '>'} {stowClass ? <DoubleLeftOutlined /> : <DoubleRightOutlined />}
</span> </span>
<Badge count={count}> <Badge count={count}>
<div className={styles['horn--num']}>消息提醒</div> <div className={styles['horn--num']}>消息提醒</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment