diff --git a/src/components/payment/Payment.tsx b/src/components/payment/Payment.tsx
index 53a6aa9..6167e6a 100644
--- a/src/components/payment/Payment.tsx
+++ b/src/components/payment/Payment.tsx
@@ -604,27 +604,28 @@ export default function Payment(props: IPaymentProps) {
打款凭证* |
- {
- if (e.file.status === 'done') {
- rechargeVoucherArray.push(e.file.response.data.fileId);
- setRechargeVoucherArray(rechargeVoucherArray);
- }
- if (e.file.status === 'removed') {
- const idArray = rechargeVoucherArray.filter(item => item != e.file.response.data.fileId);
- setRechargeVoucherArray(idArray);
- }
- return e.fileList;
- }}
- rules={[{ required: true, message: '请上传打款凭证' }]}
- >
- {/* */}
+
+ {
+ if (e.file.status === 'done') {
+ rechargeVoucherArray.push(e.file.response.data.fileId);
+ setRechargeVoucherArray(rechargeVoucherArray);
+ }
+ if (e.file.status === 'removed') {
+ const idArray = rechargeVoucherArray.filter(item => item != e.file.response.data.fileId);
+ setRechargeVoucherArray(idArray);
+ }
+ return e.fileList;
+ }}
+ rules={[{ required: true, message: '请上传打款凭证' }]}
+ >
+
}>上传凭证图片
- {/* */}
-
+
+
+
|