Commit 3cd2b7bd authored by 杨思琦's avatar 杨思琦

fix: key修改

parent 5e6dc8c3
Pipeline #87465 passed with stages
...@@ -138,7 +138,7 @@ class NoticeList extends React.Component { ...@@ -138,7 +138,7 @@ class NoticeList extends React.Component {
break; break;
} }
return ( return (
<List.Item className={itemCls} key={item.id || i}> <List.Item className={itemCls} key={`${item.id}-${item.dateTime}` || i}>
{messageTemplate} {messageTemplate}
</List.Item> </List.Item>
); );
......
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