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