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 28338970379d308426549feba9c0fa4d607c25c6..ec469a0f69a77bbda02f1545d7b883faa217e88d 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; }