Explorar o código

update search feature in product page

fengchang hai 1 ano
pai
achega
109deb0df1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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)