mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:48:13 +08:00
fix(amis): 修复卡片组件内部插入分栏组件时的渲染异常问题
This commit is contained in:
parent
88141ddef1
commit
ccbd2759ad
@ -489,7 +489,7 @@ export class CardRenderer extends React.Component<CardProps> {
|
||||
if (childNode.type === 'hbox' || childNode.type === 'grid') {
|
||||
return render(region, node, {
|
||||
key,
|
||||
itemRender: this.itemRender
|
||||
itemRender: this.itemRender.bind(this)
|
||||
}) as JSX.Element;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user