Commit 86348f8d by zhaochengxiang

bug fix

parent 64b5ecbf
...@@ -484,7 +484,7 @@ const SelectSchemas = ({ visible, onCancel }) => { ...@@ -484,7 +484,7 @@ const SelectSchemas = ({ visible, onCancel }) => {
className='add-to-asset' className='add-to-asset'
visible={visible} visible={visible}
footer={footer} footer={footer}
width='654px' width='1055px'
title='选择Schema' title='选择Schema'
bodyStyle={{ padding: '15px' }} bodyStyle={{ padding: '15px' }}
centered destroyOnClose centered destroyOnClose
...@@ -667,12 +667,12 @@ function Config({ onState }) { ...@@ -667,12 +667,12 @@ function Config({ onState }) {
selectEnv(undefined) selectEnv(undefined)
} }
}} }}
style={{ width: 150 }} style={{ width: 250 }}
> >
{systems?.map((item, i) => <Select.Option key={i} value={item.domainId} > {item.domainName} </Select.Option>)} {systems?.map((item, i) => <Select.Option key={i} value={item.domainId} >{item.domainName}</Select.Option>)}
</Select> </Select>
<TreeSelect <TreeSelect
dropdownMatchSelectWidth={210} dropdownMatchSelectWidth={250}
listHeight={450} listHeight={450}
treeData={treeData} treeData={treeData}
placeholder="请选择系统" placeholder="请选择系统"
...@@ -691,7 +691,7 @@ function Config({ onState }) { ...@@ -691,7 +691,7 @@ function Config({ onState }) {
}} }}
disabled={disabled} disabled={disabled}
allowClear={true} allowClear={true}
style={{ width: 150 }} style={{ width: 250 }}
/> />
<Select <Select
placeholder="请选择数据库" placeholder="请选择数据库"
...@@ -709,9 +709,9 @@ function Config({ onState }) { ...@@ -709,9 +709,9 @@ function Config({ onState }) {
selectDb(undefined) selectDb(undefined)
} }
}} }}
style={{ width: 150 }} style={{ width: 250 }}
> >
{dbs?.map((item, i) => <Select.Option key={i} value={item._id} > {getValidString([undefined, item.cnName, item.name])} </Select.Option>)} {dbs?.map((item, i) => <Select.Option key={i} value={item._id} >{getValidString([undefined, item.cnName, item.name])}</Select.Option>)}
</Select> </Select>
<Select <Select
placeholder="请选择Schema" placeholder="请选择Schema"
...@@ -727,9 +727,9 @@ function Config({ onState }) { ...@@ -727,9 +727,9 @@ function Config({ onState }) {
selectSchema(undefined) selectSchema(undefined)
} }
}} }}
style={{ width: 150 }} style={{ width: 250 }}
> >
{schemas?.map((item, i) => <Select.Option key={i} value={item._id} > {item.name} </Select.Option>)} {schemas?.map((item, i) => <Select.Option key={i} value={item._id} >{item.name}</Select.Option>)}
</Select> </Select>
</Space> </Space>
</Spin> </Spin>
......
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