From 916081d417719bcdf0f06d0162da7b86eb71fe5c Mon Sep 17 00:00:00 2001 From: WOSHIMAHAIFENG Date: Wed, 28 Feb 2024 11:03:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=94=AF=E4=BB=98=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/request-payment/request-payment.uvue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/API/request-payment/request-payment.uvue b/pages/API/request-payment/request-payment.uvue index c69302ba..0ecb1823 100644 --- a/pages/API/request-payment/request-payment.uvue +++ b/pages/API/request-payment/request-payment.uvue @@ -31,9 +31,8 @@ provider: "alipay", orderInfo: res.data as string, fail: (res : RequestPaymentFail) => { - console.log(JSON.stringify(res)) - const error = res as UniError - this.errorCode = error.errCode + console.log(JSON.stringify(res)) + this.errorCode = res.errCode uni.showToast({ icon: 'error', title: 'errorCode:' + this.errorCode -- GitLab