From a08ce46260ef39b1d67fdcfca13f87296fc06caf Mon Sep 17 00:00:00 2001 From: VK <370725567@qq.com> Date: Wed, 24 Apr 2024 11:59:15 +0800 Subject: [PATCH] =?UTF-8?q?update:=20uni-pay=E7=A4=BA=E4=BE=8B=20=3D=3D=3D?= =?UTF-8?q?=20=E6=94=B9=E4=B8=BA=20=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../API/request-payment-uni-pay/request-payment-uni-pay.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/API/request-payment-uni-pay/request-payment-uni-pay.uvue b/pages/API/request-payment-uni-pay/request-payment-uni-pay.uvue index 28338970..ec469a0f 100644 --- a/pages/API/request-payment-uni-pay/request-payment-uni-pay.uvue +++ b/pages/API/request-payment-uni-pay/request-payment-uni-pay.uvue @@ -425,14 +425,14 @@ // 计算当前是否是ios app isIosAppCom() : boolean { let info = uni.getSystemInfoSync(); - return info.uniPlatform === 'app' && info.osName === 'ios' ? true : false; + return info.uniPlatform == 'app' && info.osName == 'ios' ? true : false; }, // 计算当前是否是PC环境 isPcCom() : boolean { let isPC = false; // #ifdef H5 let info = uni.getSystemInfoSync(); - isPC = info.deviceType === 'pc' ? true : false; + isPC = info.deviceType == 'pc' ? true : false; // #endif return isPC; } -- GitLab