mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
fix: 修复flex布局组件warning
This commit is contained in:
parent
9b5e4c4991
commit
bcd1af71f5
@ -33,8 +33,12 @@ function LayoutItem({
|
|||||||
}}
|
}}
|
||||||
onClick={onSelect}
|
onClick={onSelect}
|
||||||
>
|
>
|
||||||
{items.map(val => (
|
{items.map((val, index) => (
|
||||||
<div className="ae-FlexLayout-itemColumn" style={{flex: val}}></div>
|
<div
|
||||||
|
key={index}
|
||||||
|
className="ae-FlexLayout-itemColumn"
|
||||||
|
style={{flex: val}}
|
||||||
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</TooltipWrapper>
|
</TooltipWrapper>
|
||||||
|
@ -689,7 +689,6 @@ export class Table extends React.PureComponent<TableProps, TableState> {
|
|||||||
testIdBuilder
|
testIdBuilder
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
console.log(testIdBuilder);
|
|
||||||
const rowSelectionKeyField = this.getRowSelectionKeyField();
|
const rowSelectionKeyField = this.getRowSelectionKeyField();
|
||||||
const dataList =
|
const dataList =
|
||||||
rowSelection && rowSelection.getCheckboxProps
|
rowSelection && rowSelection.getCheckboxProps
|
||||||
|
Loading…
Reference in New Issue
Block a user