Ver código fonte

update search feature in product page

fengchang 1 ano atrás
pai
commit
109deb0df1
1 arquivos alterados com 2 adições e 0 exclusões
  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)