This commit is contained in:
ajat91.sudrajat 2021-12-31 13:43:48 +07:00
commit 6eb2b104c8

View File

@ -98,7 +98,7 @@ export class Product {
async getProductPartner(id) { async getProductPartner(id) {
try { try {
const response = await http.get(`/product/by-categories?page=${this.pageProductPartner}&sub-category=${id}`); const response = await http.get(`/product/by-categories?page=${this.pageProductPartner}&pageSize=10&sub-category=${id}`);
console.log(response) console.log(response)
this.dataProductPartner = response.body.data this.dataProductPartner = response.body.data
} catch (e) { } catch (e) {