Commit fede7d19 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix(商品询价、物流能力): 修复bug

parent 0877d8c6
...@@ -68,6 +68,9 @@ const Table: React.FC<Iprops> = (props: any) => { ...@@ -68,6 +68,9 @@ const Table: React.FC<Iprops> = (props: any) => {
fetchRowkeys(rowKeys) fetchRowkeys(rowKeys)
setSelectedRowKeys(rowKeys); setSelectedRowKeys(rowKeys);
}, },
getCheckboxProps: (record: any) => {
console.log(record, 962039)
}
} }
useImperativeHandle(reload, () => ({ useImperativeHandle(reload, () => ({
......
...@@ -113,7 +113,11 @@ const AddedFormLayout: React.FC<AddedFormLayoutProps> = (props: any) => { ...@@ -113,7 +113,11 @@ const AddedFormLayout: React.FC<AddedFormLayoutProps> = (props: any) => {
} }
setUnsaved(false); setUnsaved(false);
history.goBack(); history.goBack();
}).catch(_error => {
setLoading(false)
}) })
}).catch(_error => {
setLoading(false)
}) })
} }
......
...@@ -72,7 +72,11 @@ const AddedFormLayout: React.FC<AddedFormLayoutProps> = (props: any) => { ...@@ -72,7 +72,11 @@ const AddedFormLayout: React.FC<AddedFormLayoutProps> = (props: any) => {
setUnsaved(false); setUnsaved(false);
setLoading(false); setLoading(false);
history.goBack(); history.goBack();
}).catch(_error => {
setLoading(false)
}) })
}).catch(_error => {
setLoading(false)
}) })
} }
......
...@@ -134,6 +134,8 @@ const AddressForm: React.FC<AddressFormProps> = (props: any) => { ...@@ -134,6 +134,8 @@ const AddressForm: React.FC<AddressFormProps> = (props: any) => {
return return
} }
history.goBack(); history.goBack();
}).catch(_error => {
setSubmitLoading(false)
}) })
} }
......
...@@ -128,6 +128,8 @@ const LogisticsCompanyManageAdded = (props: any) => { ...@@ -128,6 +128,8 @@ const LogisticsCompanyManageAdded = (props: any) => {
return return
} }
history.goBack(); history.goBack();
}).catch(_error => {
setSubmitLoading(false)
}) })
} }
......
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