Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
3422b69f
Commit
3422b69f
authored
Apr 15, 2022
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cherry-pick-190fa9a9' into 'v2-220418'
Merge branch 'cherry-pick-9c59c539' into 'v2-220318' See merge request linkseeks-design/pro-admin!34
parents
bf046e85
9c8582b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
editPanel.tsx
...zed/categoryNavigation/components/EditPanel/editPanel.tsx
+2
-1
No files found.
src/pages/pageCustomized/categoryNavigation/components/EditPanel/editPanel.tsx
View file @
3422b69f
...
...
@@ -145,6 +145,7 @@ const EditPanel = () => {
if
(
type
!==
3
&&
componentType
===
'suggestProductItem'
)
{
message
.
info
(
"当前商品展示类型为自动排序,不能进行单个商品设置"
);
setVisible
(
false
);
return
;
}
setFormValue
(
tempFormValue
[
componentType
]);
...
...
@@ -233,7 +234,7 @@ const EditPanel = () => {
};
const
currentProps
=
type
===
0
&&
componentType
.
includes
(
'suggestProduct'
)
?
formValueToProps
[
'suggestProduct'
]
:
formValueToProps
[
componentType
];
if
(
componentType
.
includes
(
'suggestProduct'
)
&&
type
===
0
)
{
if
(
componentType
===
'suggestProduct'
&&
typeof
values
.
type
!==
'undefined'
)
{
setType
(
values
.
type
);
}
changeProps
({
...
...
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