fix(amis): flex组件alignItems默认值改为stretch,和flex默认行为保持一致.

This commit is contained in:
wibetter 2023-05-10 16:24:19 +08:00
parent 6437ac4269
commit e1a3e2bbbb

View File

@ -81,7 +81,7 @@ export default class Flex extends React.Component<FlexProps, object> {
static defaultProps: Partial<FlexProps> = {
direction: 'row',
justify: 'center',
alignItems: 'center',
alignItems: 'stretch',
alignContent: 'center'
};