瀏覽代碼

处理BUG

Administrator 7 年之前
父節點
當前提交
7fc1f4755c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      components/main/Nav.vue
  2. 1 1
      components/store/home/StoreBanner.vue

+ 1 - 1
components/main/Nav.vue

@@ -40,7 +40,7 @@
         <span>品牌墙</span>
       </nuxt-link>
       <nuxt-link to="/pcb" class="item">
-        <span>pcb专区</span>
+        <span>PCB专区</span>
       </nuxt-link>
       <nuxt-link to="/news" class="item">
         <span>优软快讯</span>

+ 1 - 1
components/store/home/StoreBanner.vue

@@ -267,7 +267,7 @@ export default {
       return this.$store.state.option.user
     },
     isFocus () {
-      return this.$store.state.shop.storeInfo.focusList.data
+      return this.user.logged ? this.$store.state.shop.storeInfo.focusList.data : 'false'
     },
     url: {
       get: function () {