Commit 5bad3999 by zhaochengxiang

bug fix

parent 2849f097
...@@ -16,7 +16,7 @@ const FC = (props) => { ...@@ -16,7 +16,7 @@ const FC = (props) => {
visible={visible} visible={visible}
footer={null} footer={null}
width='80%' width='80%'
bodyStyle={{ padding: '15px', overflowX: 'auto', maxHeight: '80vh' }} bodyStyle={{ padding: '15px', overflowX: 'auto', height: '80vh' }}
title='生成ALTER' title='生成ALTER'
centered destroyOnClose centered destroyOnClose
onCancel={() => { close() }} onCancel={() => { close() }}
...@@ -147,7 +147,7 @@ export const Basic = React.forwardRef(function ({ id, versions, defaultBasicVers ...@@ -147,7 +147,7 @@ export const Basic = React.forwardRef(function ({ id, versions, defaultBasicVers
</Form> </Form>
<div className='mt-5'> <div className='mt-5'>
<Spin spinning={loading}> <Spin spinning={loading}>
<Input.TextArea value={ddl} autoSize={{minRows: 4,maxRows: 20}} /> <Input.TextArea value={ddl} style={{ height: 'calc(80vh - 90px)', resize: 'none' }} />
</Spin> </Spin>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment