Commit d18260db authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复物流公司接口没有请求的问题

parent 500747f2
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-08-17 10:22:51
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-19 17:10:20
* @LastEditTime: 2021-08-20 14:19:21
* @Description: 退货发货抽屉
*/
......@@ -307,7 +307,7 @@ const DeliverDrawer: React.FC<IProps> = (props) => {
effects={($, { setFieldValue, getFieldValue, setFieldState }) => {
const linkage = useLinkageUtils();
if (!value.deliveryTime) {
if (ediableLogistics) {
useAsyncSelect('logisticsName', fetchLogisticsCompany, ['label', 'value']);
}
......
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