Commit eafd3910 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复继续换货发货成功之后页面没有返回的问题

parent b42f6723
......@@ -47,6 +47,10 @@ const ExchangePrConfirmBackVerify: React.FC = () => {
onOk() {
return PublicApi.postAsReplaceGoodsContinueReplaceDeliveryGoods({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
}
});
},
});
......@@ -64,6 +68,10 @@ const ExchangePrConfirmBackVerify: React.FC = () => {
onOk() {
return PublicApi.postAsReplaceGoodsContinueReplaceDeliveryGoods({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
}
});
},
});
......
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