解决厨房商店包undefined问题

This commit is contained in:
Dragon
2023-07-11 19:17:12 +08:00
parent 80bea3e94a
commit 733ab19c71

View File

@@ -1082,6 +1082,7 @@ $(function () {
window.location.href = urlPrefix + '/peko/modules/pay/index.html?channelType=4';
}
} else if (browser.ios) {
let channel = pubInfo.deviceInfo.channel;
if (channel == "appstore") {
window.webkit.messageHandlers.openChargePage.postMessage(null);
} else {
@@ -1178,6 +1179,7 @@ $(function () {
window.location.href = urlPrefix + '/peko/modules/pay/index.html?channelType=4';
}
} else if (browser.ios) {
let channel = pubInfo.deviceInfo.channel;
if (channel == "appstore") {
window.webkit.messageHandlers.openChargePage.postMessage(null);
} else {