Administrator 7 vuotta sitten
vanhempi
commit
7fc1f4755c
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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 () {