Explorar el Código

update search feature in product page

fengchang hace 2 años
padre
commit
109deb0df1
Se han modificado 1 ficheros con 2 adiciones y 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)