소스 검색

[FIX] products parent filter

Gogs 7 년 전
부모
커밋
824c98d462
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/modules/products.js

+ 1 - 1
src/store/modules/products.js

@@ -7,7 +7,7 @@ const state = {
 
 const getters = {
     getProducts (state) {
-        return state.filteredProducts.length === 0 ? state.products : state.filtered
+        return state.filteredProducts.length === 0 ? state.products : state.filteredProducts
     },
     getSelectedProduct(state) {
         return state.selectedProduct