diff --git a/pages/API/request-payment/request-payment.uvue b/pages/API/request-payment/request-payment.uvue index 3a8cfa6bf8092622076c9f433c878529798f3b25..2b248747166d532b307c9e421bdb37fbe9b23621 100644 --- a/pages/API/request-payment/request-payment.uvue +++ b/pages/API/request-payment/request-payment.uvue @@ -34,7 +34,7 @@ name: '支付宝', id: "alipay", provider: e.providers.find((item) : boolean => { - return item?.id == 'alipay' + return item.id == 'alipay' }) } as PayItem); break; @@ -43,7 +43,7 @@ name: '微信', id: "wxpay", provider: e.providers.find((item) : boolean => { - return item?.id == 'wxpay' + return item.id == 'wxpay' }) } as PayItem); break;