fix(app): maxRows=12

This commit is contained in:
chenos 2021-01-05 20:39:21 +08:00
parent c622f2ad21
commit 778fb648ca

View File

@ -11,6 +11,6 @@ export const Input = connect<'TextArea'>({
Input.TextArea = connect({
getProps: mapStyledProps,
getComponent: mapTextComponent
})(acceptEnum((props) => <AntdInput.TextArea autoSize={{minRows: 2}} {...props}/>))
})(acceptEnum((props) => <AntdInput.TextArea autoSize={{minRows: 2, maxRows: 12}} {...props}/>))
export default Input