fix:修复flex布局传递给 flexItem的disabled属性bug问题 (#4715)

Co-authored-by: ”jiatianqi“ <”jiatianqi@baidu.com“>
This commit is contained in:
Ma ke 2022-06-28 18:30:26 +08:00 committed by GitHub
parent 2f0ecb1bcd
commit 193de3b04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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