Răsfoiți Sursa

Merge pull request #325 from John-Hong/release-2.20.0

Release 2.20.0
Tron 1 an în urmă
părinte
comite
1d27c15838

+ 1 - 1
src/pages/parkingFeeV2/Discounts/index.vue

@@ -19,7 +19,7 @@
               {{ todayReduceDiscountMessage }}
             </div>
             <van-stepper
-              v-if="!enableConsumeNonSplit && maxReduceDiscount > 0 || parkMallCode === 1 || parkMallCode === 0" 
+              v-if="!enableConsumeNonSplit && maxReduceDiscount > 0" 
               :min="stepperMin"
               name="reduces"
               :max="maxReduceDiscount"

+ 8 - 6
src/pages/parkingFeeV2/mixins/parkingFee.js

@@ -91,12 +91,14 @@ export default {
         [this.$route.query.fromPage]: 1
       })
       localStorage.setItem(`${this.$route.query.fromPage}`, this.$route.query.fromPage)
-      this.$router.push({
-        path: this.$route.query.fromPage, query: {
-          ...this.$route.query,
-          loginCount: 1
-        }
-      });
+      setTimeout(() => {
+        this.$router.push({
+          path: this.$route.query.fromPage, query: {
+            ...this.$route.query,
+            loginCount: 1
+          }
+        });
+      }, 300)
     }
     const {type = '', code = ''} = this.$route.query
     // 无牌车流程