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
project
jinfa-admin
Commits
02a79275
Commit
02a79275
authored
Nov 29, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: c端首页装修 商品推荐增加自定义商品限制
parent
d985056b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.tsx
src/pages/pageCustomized/mobileClientEdit/index.tsx
+1
-1
preview.tsx
src/pages/pageCustomized/mobileClientEdit/preview.tsx
+1
-1
No files found.
src/pages/pageCustomized/mobileClientEdit/index.tsx
View file @
02a79275
...
@@ -902,7 +902,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
...
@@ -902,7 +902,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
childNodes
:
[],
childNodes
:
[],
};
};
!
_suggestProductConfig
[
'10'
].
childNodes
.
includes
(
_newKey
)
&&
_suggestProductConfig
[
'10'
].
childNodes
.
push
(
_newKey
);
!
_suggestProductConfig
[
'10'
].
childNodes
.
includes
(
_newKey
)
&&
_suggestProductConfig
[
'10'
].
childNodes
.
push
(
_newKey
);
if
(
item
?.
customize
)
{
if
(
item
?.
customize
&&
item
.
type
===
3
)
{
const
_ids
=
item
.
customize
.
map
((
item
)
=>
item
.
id
).
join
(
','
);
const
_ids
=
item
.
customize
.
map
((
item
)
=>
item
.
id
).
join
(
','
);
const
_parmas
:
any
=
{
shopId
,
idInList
:
_ids
,
current
:
'1'
,
pageSize
:
'100'
};
const
_parmas
:
any
=
{
shopId
,
idInList
:
_ids
,
current
:
'1'
,
pageSize
:
'100'
};
const
_detailsData
=
await
getMarketingAdornGoodsListAdorn
(
_parmas
);
const
_detailsData
=
await
getMarketingAdornGoodsListAdorn
(
_parmas
);
...
...
src/pages/pageCustomized/mobileClientEdit/preview.tsx
View file @
02a79275
...
@@ -900,7 +900,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
...
@@ -900,7 +900,7 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
childNodes
:
[],
childNodes
:
[],
};
};
!
_suggestProductConfig
[
'10'
].
childNodes
.
includes
(
_newKey
)
&&
_suggestProductConfig
[
'10'
].
childNodes
.
push
(
_newKey
);
!
_suggestProductConfig
[
'10'
].
childNodes
.
includes
(
_newKey
)
&&
_suggestProductConfig
[
'10'
].
childNodes
.
push
(
_newKey
);
if
(
item
?.
customize
)
{
if
(
item
?.
customize
&&
item
.
type
===
3
)
{
const
_ids
=
item
.
customize
.
map
((
item
)
=>
item
.
id
).
join
(
','
);
const
_ids
=
item
.
customize
.
map
((
item
)
=>
item
.
id
).
join
(
','
);
const
_parmas
:
any
=
{
shopId
,
idInList
:
_ids
,
current
:
'1'
,
pageSize
:
'100'
};
const
_parmas
:
any
=
{
shopId
,
idInList
:
_ids
,
current
:
'1'
,
pageSize
:
'100'
};
const
_detailsData
=
await
getMarketingAdornGoodsListAdorn
(
_parmas
);
const
_detailsData
=
await
getMarketingAdornGoodsListAdorn
(
_parmas
);
...
...
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