浏览代码

fix tags collection selection

master
azri 8 个月前
父节点
当前提交
3da75e278d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/components/ProductList/ProductList.jsx

+ 1
- 1
src/components/ProductList/ProductList.jsx 查看文件

72
     } else if (sessionStorage.getItem('amber-select-category')) {
72
     } else if (sessionStorage.getItem('amber-select-category')) {
73
 
73
 
74
       let tag = sessionStorage.getItem('amber-select-category')
74
       let tag = sessionStorage.getItem('amber-select-category')
75
-      if(tag == 'all') tag = ""
76
       dispatch(fetchProductsByTags({ tag }))
75
       dispatch(fetchProductsByTags({ tag }))
77
 
76
 
78
     }
77
     }
125
         (product) => {
124
         (product) => {
126
 
125
 
127
           if(collection == 'all'){
126
           if(collection == 'all'){
127
+            debugger
128
             return product.productType === productType
128
             return product.productType === productType
129
           } else {
129
           } else {
130
             debugger
130
             debugger

正在加载...
取消
保存