提交 a1f09ae2 作者: 龚洪江

功能:提现列表操作

上级 5f5c64f5
......@@ -59,9 +59,8 @@ const RichText: React.FC<PropsType> = ({
}
const formData = new FormData();
formData.append('uploadFile', file);
CommonAPI.uploadOss(formData).then(({ result }) => {
insertFn(result.filePath);
});
const { result } = await CommonAPI.uploadOss(formData);
insertFn(result.filePath);
},
},
},
......
......@@ -131,7 +131,11 @@ const WithDrawManage = () => {
title: '操作',
align: 'center',
render: (_: any, record) => (
<Button type='link' onClick={() => applyStatusEvent(record)}>
<Button
type='link'
onClick={() => applyStatusEvent(record)}
disabled={record.applyStatus !== 0}
>
审批
</Button>
),
......
......@@ -34,7 +34,6 @@ function ProductOrderDetail() {
});
if (res && res.code === '200') {
setOrderDetail(res.result);
console.log('获取订单详情 --->', res.result);
}
};
// 获取订单状态
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论