开发: 删除antd自带文件
This commit is contained in:
@@ -325,12 +325,13 @@ const ChatLogs: React.FC = () => {
|
||||
};
|
||||
|
||||
const checkCustFollowsIsEmpty = (state: number) => {
|
||||
let count = 0;
|
||||
for (const el of custFollowsList) {
|
||||
if (el.name.includes(searchWord['1']) && el.state == state) {
|
||||
return 1;
|
||||
count += 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
return count;
|
||||
};
|
||||
|
||||
const checkInnerIsEmpty = () => {
|
||||
@@ -455,7 +456,7 @@ const ChatLogs: React.FC = () => {
|
||||
setDelFollowListShow(!delFollowListShow);
|
||||
}}
|
||||
>
|
||||
<span>已删联系人</span>
|
||||
<span>已删联系人({checkCustFollowsIsEmpty(0)})</span>
|
||||
{delFollowListShow ? <UpOutlined /> : <DownOutlined />}
|
||||
</div>
|
||||
<div
|
||||
|
Reference in New Issue
Block a user