forked from yoone/WEB
fix(Order/List): 移除调试日志和无效的表单验证规则
移除console.log调试语句和无效的公司名称必填验证规则
This commit is contained in:
parent
0abe06d9df
commit
5f1c6eeb44
|
|
@ -1384,7 +1384,6 @@ const [shipmentPlatforms, setShipmentPlatforms] = useState([
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
console.log('data',a)
|
|
||||||
return a
|
return a
|
||||||
}}
|
}}
|
||||||
onFinish={async ({
|
onFinish={async ({
|
||||||
|
|
@ -1716,7 +1715,6 @@ const [shipmentPlatforms, setShipmentPlatforms] = useState([
|
||||||
<ProFormText
|
<ProFormText
|
||||||
label="公司名称"
|
label="公司名称"
|
||||||
name={['details', 'destination', 'name']}
|
name={['details', 'destination', 'name']}
|
||||||
rules={[{ message: '请输入公司名称' }]}
|
|
||||||
/>
|
/>
|
||||||
<ProFormItem
|
<ProFormItem
|
||||||
name={['details', 'destination', 'address', 'country']}
|
name={['details', 'destination', 'address', 'country']}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue