Commit 9915781c authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复组件在antd form里换行的问题

parent 9786c8be
......@@ -3,6 +3,7 @@
.address-select {
display: flex;
align-items: center;
flex-flow: row wrap;
&-input {
flex: 1;
......
......@@ -5,10 +5,3 @@
}
}
}
.addressLayout {
:global {
.ant-form-item-control {
width: 0;
}
}
}
......@@ -96,7 +96,7 @@ const TradeTermsLayout: React.FC<TradeTermsLayoutProps> = (props: any) => {
format="YYYY-MM-DD HH:mm:ss"
/>
</Form.Item>
<Form.Item label='交付地址' className={style.addressLayout}>
<Form.Item label='交付地址'>
<AddressSelect value={address} isDefaultAddress addressType={1} disabled={false} onChange={getFullAddress} />
</Form.Item>
<Form.Item label='报价截止时间' name='quotationAsTime' rules={[{ required: true, message: '请选择报价截止时间' }]}>
......
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