Handy_Cao hai 10 meses
pai
achega
8bff5d6181
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/stores/modules/goodscollection.ts

+ 1 - 1
src/stores/modules/goodscollection.ts

@@ -35,7 +35,7 @@ export const useGoodsCollectionStore = defineStore(() => {
         try {
             state.loading = true
             const res = await getTCEGoodsCollections()
-            state.goodsCollections = res.data.filter((e) => e.collectionstatus === 1)
+            state.goodsCollections = res.data.filter((e) => e.collectionstatus === 1 && e.configs.length != 0)
         } finally {
             state.loading = false
         }