Browse Source

分页原厂和代理经销数据切换问题

hangb 7 years ago
parent
commit
67c6602a19
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/provider/Suppliers.vue

+ 1 - 0
components/provider/Suppliers.vue

@@ -124,6 +124,7 @@ export default {
 //      })
     },
     handleCurrentChange (page) {
+      this.pageParams.type = this.storeType === 'factory' ? 'ORIGINAL_FACTORY' : 'AGENCY-DISTRIBUTION'
       this.pageParams.page = page
       this.pageParams.keyword = this.keyword === '' ? null : this.keyword