HUANGYAQIAN-PC\huangyaqian 2 years ago
parent
commit
cdcb8ac2a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/activity/doubleEleven/index.vue

+ 1 - 1
pages/activity/doubleEleven/index.vue

@@ -157,7 +157,7 @@ export default {
         } else if (this.$userAgent.isSzx && this.$userAgent.isAndroid) {
         } else if (this.$userAgent.isSzx && this.$userAgent.isAndroid) {
           window.native.startPurchasePage(productId);
           window.native.startPurchasePage(productId);
         } else if (this.$userAgent.isSzx && this.$userAgent.isIos) {
         } else if (this.$userAgent.isSzx && this.$userAgent.isIos) {
-          window.webkit.messageHandlers.activity202211.postMessage(productId);
+          window.webkit.messageHandlers.activity202211.postMessage({productId:productId});
         } else if (this.$userAgent.isMiniProgram) {
         } else if (this.$userAgent.isMiniProgram) {
           this.$wx.miniProgram.navigateTo({
           this.$wx.miniProgram.navigateTo({
             url:
             url: