Commit 0ce26e11 by zhaochengxiang

去除警告

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