Browse Source

update search feature in product page

fengchang 2 năm trước cách đây
mục cha
commit
109deb0df1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      hichina-main-front/src/views/product/index.vue

+ 2 - 0
hichina-main-front/src/views/product/index.vue

@@ -100,6 +100,8 @@
 
   const search = debounce(value =>{
     console.log(value)
+    globalProductList.value=[]
+    currentPage.value = 1
     loadAllProducts()
   },500)