From 73a13133ec8326c16b70bc0ea259b2c9db2dd904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 30 May 2024 14:23:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20web=E7=AB=AF=E5=B1=8F=E8=94=BDrequestPay?= =?UTF-8?q?ment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 4 +++- pages/API/request-payment/request-payment.uvue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages.json b/pages.json index 842f5b9f..c8ce8876 100644 --- a/pages.json +++ b/pages.json @@ -1386,7 +1386,7 @@ "enablePullDownRefresh": false } }, - // #ifdef APP || WEB + // #ifdef APP { "path": "pages/API/request-payment/request-payment", "style": { @@ -1394,6 +1394,8 @@ "enablePullDownRefresh": false } }, + // #endif + // #ifdef APP || WEB { "path": "pages/API/request-payment-uni-pay/request-payment-uni-pay", "style": { diff --git a/pages/API/request-payment/request-payment.uvue b/pages/API/request-payment/request-payment.uvue index 923fc124..c2dd5006 100644 --- a/pages/API/request-payment/request-payment.uvue +++ b/pages/API/request-payment/request-payment.uvue @@ -119,7 +119,7 @@ }) let url = 'https://demo.dcloud.net.cn/payment/wxpayv3.__UNI__uniappx/?total=0.01' const res = uni.getAppBaseInfo(); - let packageName:string | null = '' + let packageName:string | null // #ifdef APP-ANDROID packageName = res.packageName -- GitLab