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}
|
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