Ver Fonte

修改需求

yangc há 7 anos atrás
pai
commit
9fa6f442e3
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      components/mobile/MobileHeader.vue

+ 2 - 2
components/mobile/MobileHeader.vue

@@ -212,7 +212,7 @@
           title = '购物车'
         } else if (this.startWith(val, '/mobile/center/user/payCenter')) {
           this.showSearchIcon = false
-          if (this.$route.query.switchType === 'account') {
+          if (this.$route.query.type) {
             title = '付款账户'
           } else {
             title = '应付对账'
@@ -222,7 +222,7 @@
           title = '发票管理'
         } else if (this.startWith(val, '/mobile/center/vendor/payCenter')) {
           this.showSearchIcon = false
-          if (this.$route.query.switchType === 'account') {
+          if (this.$route.query.type) {
             title = '收款账户'
           } else {
             title = '应收对账'