Browse Source

Merge pull request #268 from John-Hong/release-2.17.0

未登录流程:开票页面没有重新登录
John-Hong 1 year ago
parent
commit
de73864d29
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/parkingFeeV2/mixins/parkingReceipt/parkingReceipt.js

+ 2 - 2
src/pages/parkingFeeV2/mixins/parkingReceipt/parkingReceipt.js

@@ -121,9 +121,9 @@ export default {
     // }, 500)
     const invoiceindex = Number.parseInt(uni.getStorageSync('invoiceindex') || 1)
     this.$store.dispatch('clearUnlicensed');
+    this.userStopLogin = ['JINGAN', 'PUDONG'].indexOf(this.source) < 0
     // 如果是公众号访问的话,并且未登录, 除浦东静安之外,都不加载数据
-    if (this.$route.query.parkingFeeIsLogin === 'loginDenied') {
-      this.userStopLogin = ['JINGAN', 'PUDONG'].indexOf(this.source) < 0
+    if (this.$route.query.parkingFeeIsLogin === 'loginDenied' && this.$route.query?.loginCount) {
       this.isLoadMore = this.userStopLogin
       this.invoice(invoiceindex)
       return