Commit e14bac19 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复线下退款,退款成功之后没有关闭弹窗的问题

parent 5e5006e2
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 18:02:18
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-01-22 10:33:29
* @LastEditTime: 2021-01-22 10:34:55
* @Description: 退款明细
*/
import React, { useState } from 'react';
......@@ -238,6 +238,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
if (onRefund) {
onRefund(values).finally(() => {
setSubmitLoading(false);
setRefundModalVisible(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