瀏覽代碼

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

yangc 8 年之前
父節點
當前提交
24401874aa
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {