Browse Source

补充新闻详情title

yangc 8 years ago
parent
commit
e614659a1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layouts/main.vue

+ 1 - 1
layouts/main.vue

@@ -50,7 +50,7 @@
         } else if (path === '/news') {
           return 'IC电子元器件行业市场资讯新闻-优软商城'
         } else if (path.startsWith('/news/')) {
-          return this.newsDetail.title + 'IC电子元器件行业市场资讯新闻-优软商城' || 'IC电子元器件行业市场资讯新闻-优软商城'
+          return this.newsDetail.title + '-IC电子元器件行业市场资讯新闻-优软商城' || 'IC电子元器件行业市场资讯新闻-优软商城'
         } else if (path === '/search') {
           return this.$route.query.w + '-产品搜索-优软商城'
         } else if (path === '/searchStore') {