yangc 8 жил өмнө
parent
commit
76e4dbca33

+ 0 - 7
components/main/Search.vue

@@ -62,15 +62,8 @@
         searchType: 'product'
       }
     },
-    fetch ({ store }) {
-      return Promise.all([
-        store.dispatch('newsData/loadAllNews', { page: this.nowPage, pageSize: this.pageSize }),
-        store.dispatch('newsData/loadHotNews')
-      ])
-    },
     computed: {
       hotDevice () {
-        console.log(this.$store.state.hotSearchDevice.hot.data)
         return this.$store.state.hotSearchDevice.hot.data
       },
       hotBrand () {