Răsfoiți Sursa

fix-7183(KIP-7183): H5端的登录用户,在支付时,优惠券可以使用但无法查看优惠券

John-Hong 2 ani în urmă
părinte
comite
29a251b308

+ 3 - 1
src/pages/parkingFee/parkingFeeCoupon.vue

@@ -64,7 +64,7 @@
             <wx-open-launch-weapp
               username="gh_0bd6a97b6d38"
               :path="`pages/pointsMall/pointsMall${launchPath}`"
-              :env-version="window.env === 'qa' ? 'trial' : 'release'"
+              :env-version="envVersion"
               class="wx-open-launch-weapp"
               @launch="launchFn"
               @error="launchErrorFn"
@@ -252,6 +252,8 @@ export default {
       paperCouponFee: 0, // 纸质优惠金额
       platform: getPlatform(),
       launchPath: '', // H5跳转CRM微信小程序
+      envVersion: window.env === 'qa' ? 'trial' : 'release',
+      // env: window.env === 'qa' ? 'trial' : 'release',
     };
   },
   computed: {

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

@@ -344,7 +344,7 @@ export default {
         carno_old: item.vehicleNo,
         redirect_url: 'pages/parkingFee/vehicleAddOrEdit',
       });
-      this.$router.replace({
+      this.$router.push({
         path: `vehicleAddOrEdit?id=${id}&carno=${vehicleNo}&carType=${carType}`,
       });
     },