提交 ef9ecea9 编写于 作者: C chenshuai2144

🐛 fix: fix react key warning

上级 9aea2829
......@@ -195,6 +195,7 @@ const TableList: React.FC<{}> = () => {
valueType: 'option',
render: (_, record) => [
<a
key="config"
onClick={() => {
handleUpdateModalVisible(true);
setCurrentRow(record);
......@@ -202,7 +203,7 @@ const TableList: React.FC<{}> = () => {
>
<FormattedMessage id="pages.searchTable.config" defaultMessage="配置" />
</a>,
<a href="https://procomponents.ant.design/">
<a key="subscribeAlert" href="https://procomponents.ant.design/">
<FormattedMessage id="pages.searchTable.subscribeAlert" defaultMessage="订阅警报" />
</a>,
],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册