Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
a60fd817
Commit
a60fd817
authored
Feb 23, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 渠道商城商品列表隐藏商品类型的是筛选
parent
65278b2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
index.tsx
src/pages/lxMall/commodity/index.tsx
+5
-1
No files found.
src/pages/lxMall/commodity/index.tsx
View file @
a60fd817
...
...
@@ -120,9 +120,13 @@ const Commodity: React.FC<CommodityPropsType> = (props) => {
useEffect
(()
=>
{
if
(
userInfo
&&
layoutType
===
LAYOUT_TYPE
.
mall
)
{
const
temp
=
JSON
.
parse
(
JSON
.
stringify
(
filterConfig
))
const
temp
=
[...
filterConfig
]
temp
.
unshift
(
FILTER_TYPE
.
commonlyUsed
)
setFilterConfig
(
temp
)
}
else
if
(
layoutType
===
LAYOUT_TYPE
.
channel
||
layoutType
===
LAYOUT_TYPE
.
ichannel
)
{
const
temp
=
[...
filterConfig
]
temp
.
pop
()
setFilterConfig
(
temp
)
}
return
(()
=>
{
onResetFilter
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment