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

fix: key修改

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