Browse Source

店铺描述页面title显示bug处理

yangc 8 years ago
parent
commit
24401874aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layouts/shop.vue

+ 1 - 1
layouts/shop.vue

@@ -46,7 +46,7 @@
       },
       title () {
         let path = this.$route.path
-        if (path.startsWith('/store/') && getCount(path, '/') === 2) {
+        if ((path.startsWith('/store/') && getCount(path, '/') === 2) || path.endsWith('/description')) {
           if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
             return this.storeInfo.storeName + this.getStoreType(this.storeInfo.type) + '专卖店-优软商城'
           } else {