Commit 173f2159 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复退款id不存在的问题

parent 77d6fe28
......@@ -133,9 +133,8 @@ const ReturnProfile: React.ForwardRefRenderFunction<ReturnProfileRefHandle, Retu
// 退款
const handleRefund = (values): Promise<any> => {
const { id, refundAmount, ...rest } = values;
if (onRefund) {
return onRefund?.(rest);
return onRefund?.(values);
}
return Promise.reject();
};
......
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