diff --git a/pages.json b/pages.json index 842f5b9f0cbaabf750bf175a33d0f3e44d989918..c8ce88764eddc496432c85e5fda79e013766b880 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 923fc124483d189bc74568399034e724307cd37b..c2dd500663cddc385bfd614b361b6d9f41d0c730 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