CSR-2130 include mac check
CSR-2130 include mac check
This commit is contained in:
parent
73143d4d6f
commit
e15d25e948
1 changed files with 4 additions and 3 deletions
|
|
@ -201,9 +201,10 @@ export default {
|
|||
return formValidateResponse?.valid;
|
||||
},
|
||||
showApplePay() {
|
||||
if (window.ApplePaySession && window.ApplePaySession.canMakePayments()) {
|
||||
var iOSversion = this.getiOSversion();
|
||||
if (iOSversion && iOSversion[0] >= 17) {
|
||||
var iOSversion = this.getiOSversion();
|
||||
var isMacOS = navigator.platform.indexOf("Mac") !== -1 ? true : false;
|
||||
if (isMacOS || (iOSversion && iOSversion[0] >= 17)) {
|
||||
if (window.ApplePaySession && window.ApplePaySession.canMakePayments()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue