浏览代码

回滚:商品集合没有商品也显示

deng.yinping 10 月之前
父节点
当前提交
69c6924171
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/stores/modules/goodscollection.ts

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

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