mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
fix:修复flex布局传递给 flexItem的disabled属性bug问题 (#4715)
Co-authored-by: ”jiatianqi“ <”jiatianqi@baidu.com“>
This commit is contained in:
parent
2f0ecb1bcd
commit
193de3b04d
@ -117,7 +117,7 @@ export default class Flex extends React.Component<FlexProps, object> {
|
||||
(item, key) =>
|
||||
render(`flexItem/${key}`, item, {
|
||||
key: `flexItem/${key}`,
|
||||
disabled
|
||||
disabled: item?.disabled ?? disabled
|
||||
})
|
||||
)}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user