From ca861b4ae3289ad15369cea88b3ebe625483339a Mon Sep 17 00:00:00 2001 From: VK <370725567@qq.com> Date: Mon, 29 Apr 2024 14:43:35 +0800 Subject: [PATCH] =?UTF-8?q?update:=20uni-pay=E7=A4=BA=E4=BE=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=AD=E7=9A=84=20=3D=3D=3D=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=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