From 5b04f424b6c24c293178d9eb3ad0bd07a2781767 Mon Sep 17 00:00:00 2001 From: ilham Date: Fri, 31 Dec 2021 12:00:09 +0700 Subject: [PATCH] fix: product --- src/store/product.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/product.js b/src/store/product.js index 8bd3c91..ff0570f 100644 --- a/src/store/product.js +++ b/src/store/product.js @@ -98,7 +98,7 @@ export class Product { async getProductPartner(id) { 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) this.dataProductPartner = response.body.data } catch (e) {