Commit 31dcb745 authored by 周宏民's avatar 周宏民

pref: 消息通知图标改成本地

parent 3233fb15
Pipeline #96075 waiting for manual action with stages
This diff was suppressed by a .gitattributes entry.
...@@ -4,15 +4,16 @@ import { List, Spin, ConfigProvider } from 'antd'; ...@@ -4,15 +4,16 @@ import { List, Spin, ConfigProvider } from 'antd';
// eslint-disable-next-line import/no-unresolved // eslint-disable-next-line import/no-unresolved
import classNames from 'classnames'; import classNames from 'classnames';
import './style/list.less'; import './style/list.less';
import noMessage from '@/assets/images/system/notifications/没有消息.png';
import { Alarm, Case, Notice, Unknown } from './templates'; import { Alarm, Case, Notice, Unknown } from './templates';
import { MESSAGE_TYPE } from './constants'; import { MESSAGE_TYPE } from './constants';
const Empty = ({ emptyText, ...props }) => { const Empty = ({ emptyText, ...props }) => {
const { getPrefixCls } = React.useContext(ConfigProvider.ConfigContext); const { getPrefixCls } = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = props.prefixCls || getPrefixCls(); const prefixCls = props.prefixCls || getPrefixCls();
return ( return (
<div className={`${prefixCls}-notFound`}> <div className={`${prefixCls}-notFound`}>
<img src="https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg" alt="not found" /> {/* <img src="https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg" alt="not found" /> */}
<img src={noMessage} alt="not found" />
<div>{emptyText}</div> <div>{emptyText}</div>
</div> </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