Browse Source

头部title状态

yangc 8 years ago
parent
commit
819bcd925d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      components/mobile/MobileHeader.vue

+ 3 - 0
components/mobile/MobileHeader.vue

@@ -90,6 +90,9 @@
         this.title = this.initHeader(val.path)
       }
     },
+    created () {
+      this.title = this.initHeader(this.$route.path)
+    },
     computed: {
       brandDetail () {
         return this.$store.state.brandDetail.detail.data