Commit 1c38be3e authored by Bill's avatar Bill
parents 170692fd 1e6dc1a5
import React, { useState } from 'react';
import React, { useState, useMemo } from 'react';
import { Button } from 'antd';
import {
CheckCircleOutlined,
......@@ -17,11 +17,13 @@ const ReturnVerify: React.FC = () => {
const [visibleVerifyModal, setVisibleVerifyModal] = useState(false);
const [submitLoading, setSubmitLoading] = useState(false);
const ReturnProfilePro = fetchDetailHoc({
const ReturnProfilePro = useMemo(() => (
fetchDetailHoc({
fetchDetail: () => getAsReturnGoodsGetDetailPlatform({
returnId: id,
}),
}, ReturnProfile);
}, ReturnProfile)
), []);
const fetchOuterHistory: FlowRecordsProps['fetchOuterList'] = (params) => {
return new Promise((resolve, 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