Pārlūkot izejas kodu

品牌中心搜索时间过长bug处理。

yangc 8 gadi atpakaļ
vecāks
revīzija
20417e2726
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      components/product/brand/BrandComponent.vue

+ 1 - 0
components/product/brand/BrandComponent.vue

@@ -86,6 +86,7 @@
       },
       },
       async pageCmpGoods (params) {
       async pageCmpGoods (params) {
 //      pageCmpGoods (params) {
 //      pageCmpGoods (params) {
+        params.filter.brandid = this.brand.id
         let { data } = await this.$http.get('/api/product/component/list', { params })
         let { data } = await this.$http.get('/api/product/component/list', { params })
         this.$store.commit('brandComponent/GET_COMPONENT_SUCCESS', data)
         this.$store.commit('brandComponent/GET_COMPONENT_SUCCESS', data)
 //        this.$http.get('/api/product/component/list', { params }).then(response => {
 //        this.$http.get('/api/product/component/list', { params }).then(response => {