Commit 0ce26e11 by zhaochengxiang

去除警告

parent 65b27c9f
......@@ -181,7 +181,7 @@ class ExportModal extends React.Component {
取消
</Button>,
<Button
key="0"
key="1"
type="primary"
onClick={this.handleOk}
>
......@@ -208,7 +208,7 @@ class ExportModal extends React.Component {
{
modes && modes.map((mode, index) => {
return (
<Radio key={mode.key||''} value={mode.key||''}>
<Radio key={index} value={mode.key||''}>
{ mode.title||'' }
</Radio>
);
......
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