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
黄庭坚
jinfa-platform
Commits
7ea08af3
Commit
7ea08af3
authored
Jan 07, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 店铺装修品类找不到的问题
parent
42508802
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
index.tsx
src/pages/editor/channelEdit/index.tsx
+3
-0
index.tsx
src/pages/editor/shopEdit/index.tsx
+3
-0
No files found.
src/pages/editor/channelEdit/index.tsx
View file @
7ea08af3
...
...
@@ -216,6 +216,7 @@ const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
const
firstCategory
:
any
=
await
fetchFirstCategory
()
for
(
const
item
of
firstCategory
)
{
if
(
item
.
id
)
{
const
categoryDetail
:
any
=
await
fetchCategoryById
(
item
.
id
)
let
floorLineConfigItem
=
{}
...
...
@@ -259,6 +260,8 @@ const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
initIndex
+=
100
}
}
mallLayoutConfig
[
"0"
].
childNodes
=
[...
mallLayoutConfig
[
"0"
].
childNodes
,
...
floorLineKeys
,
serviceAdvertConfig
.
key
,
CommonTitle2Config
.
key
,
AboutUsConfig
.
key
,
InformationConfig
.
key
,
FooterConfig
.
key
]
const
config
=
{
...
...
src/pages/editor/shopEdit/index.tsx
View file @
7ea08af3
...
...
@@ -166,6 +166,7 @@ const ShopEdit: React.FC<ShopEditPropsType> = (props) => {
const
firstCategory
:
any
=
await
fetchFirstCategory
()
for
(
const
item
of
firstCategory
)
{
if
(
item
.
id
){
const
categoryDetail
:
any
=
await
fetchCategoryById
(
item
.
id
)
let
floorLineConfigItem
=
{}
...
...
@@ -208,6 +209,8 @@ const ShopEdit: React.FC<ShopEditPropsType> = (props) => {
initIndex
+=
100
}
}
mallLayoutConfig
[
"0"
].
childNodes
=
[...
mallLayoutConfig
[
"0"
].
childNodes
,
...
floorLineKeys
,
serviceAdvertConfig
.
key
,
FooterConfig
.
key
]
const
config
=
{
...
mallLayoutConfig
,
...
...
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