重构代码.
This commit is contained in:
@@ -101,8 +101,7 @@
|
||||
};
|
||||
const formatUnreadLength = (type: string) => {
|
||||
const list = getUnreadList(type);
|
||||
// FIXME
|
||||
return list.length ? `(${list.length})` : ``;
|
||||
return list.length ? `(${list.length})` : '';
|
||||
};
|
||||
const handleItemClick = (items: MessageListType) => {
|
||||
if (renderList.value.length) readMessage([...items]);
|
||||
|
||||
Reference in New Issue
Block a user