|  | @@ -102,7 +102,7 @@
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <div>
 |  |      <div>
 | 
											
												
													
														|  |        <el-pagination
 |  |        <el-pagination
 | 
											
												
													
														|  | -        :current-page="listQuery.page" :page-sizes="[10, 20, 50, 100]" :page-size="10"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        :current-page="listQuery.page" :page-sizes="[10, 20, 50, 100]" :page-size="listQuery.pageSize"
 | 
											
												
													
														|  |          layout="total, sizes, prev, pager, next, jumper" :total="total"
 |  |          layout="total, sizes, prev, pager, next, jumper" :total="total"
 | 
											
												
													
														|  |          @size-change="(val) => ((listQuery.pageSize = val) && getList())"
 |  |          @size-change="(val) => ((listQuery.pageSize = val) && getList())"
 | 
											
												
													
														|  |          @current-change="(val) => ((listQuery.page = val) && getList())"
 |  |          @current-change="(val) => ((listQuery.page = val) && getList())"
 | 
											
										
											
												
													
														|  | @@ -137,7 +137,7 @@ export default {
 | 
											
												
													
														|  |          page: 1,
 |  |          page: 1,
 | 
											
												
													
														|  |          pageSize: 20,
 |  |          pageSize: 20,
 | 
											
												
													
														|  |          search: '',
 |  |          search: '',
 | 
											
												
													
														|  | -        classifyId: '',
 |  | 
 | 
											
												
													
														|  | 
 |  | +        classifyId: [],
 | 
											
												
													
														|  |          stock: ''
 |  |          stock: ''
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        categoryList: [] // 商品类目-树结构
 |  |        categoryList: [] // 商品类目-树结构
 | 
											
										
											
												
													
														|  | @@ -151,7 +151,10 @@ export default {
 | 
											
												
													
														|  |      async getList() {
 |  |      async getList() {
 | 
											
												
													
														|  |        this.listLoading = true
 |  |        this.listLoading = true
 | 
											
												
													
														|  |        try {
 |  |        try {
 | 
											
												
													
														|  | -        const res = await shopSelectionGetLibrary(this.listQuery)
 |  | 
 | 
											
												
													
														|  | 
 |  | +        const res = await shopSelectionGetLibrary({
 | 
											
												
													
														|  | 
 |  | +          ...this.listQuery,
 | 
											
												
													
														|  | 
 |  | +          classifyId: Array.isArray(this.listQuery.classifyId) && this.listQuery.classifyId.length ? this.listQuery.classifyId[this.listQuery.classifyId.length - 1] : ''
 | 
											
												
													
														|  | 
 |  | +        })
 | 
											
												
													
														|  |          const { data: brandList } = await getBrandList()
 |  |          const { data: brandList } = await getBrandList()
 | 
											
												
													
														|  |          this.list = res.data.list.map((item) => {
 |  |          this.list = res.data.list.map((item) => {
 | 
											
												
													
														|  |            item.brandName = (brandList.find((section) => section.id === item.brandId) || { brandName: '' }).brandName
 |  |            item.brandName = (brandList.find((section) => section.id === item.brandId) || { brandName: '' }).brandName
 |