浏览代码

微信小程序支付回调

John-Hong 2 年之前
父节点
当前提交
06afbc8171
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/parkingFee/parkingFeeDetail.vue

+ 1 - 1
src/pages/parkingFee/parkingFeeDetail.vue

@@ -1872,7 +1872,7 @@ export default {
               });
               window.subscribe('wxPayOver', (options) => {
                 console.log('微信支付结束之后的返回参数', options);
-                if (options?.wxpayOver === 'fail') {
+                if (options?.wxPayOver === 'fail') {
                   this.failedParkOrder();
                 } else {
                   this.$router.replace({