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
0770a00e
Commit
0770a00e
authored
Jun 30, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 店铺装修品类id传参问题
parent
f2fcac6b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.tsx
src/pages/editor/channelEdit/index.tsx
+3
-3
index.tsx
src/pages/editor/shopEdit/index.tsx
+2
-2
No files found.
src/pages/editor/channelEdit/index.tsx
View file @
0770a00e
...
...
@@ -34,7 +34,7 @@ const TemplateList = ['science']
const
ChannelPreview
:
React
.
FC
<
ChannelPreviewPropsType
>
=
(
props
)
=>
{
const
{
query
:
{
id
,
template
,
type
}
}
=
props
.
location
const
userInfo
=
getAuth
()
||
{}
const
userInfo
:
any
=
getAuth
()
||
{}
const
[
loading
,
setLoading
]
=
useState
<
boolean
>
(
true
)
const
[
theme
,
setTheme
]
=
useState
<
string
>
(
'theme-channel-science'
)
const
[
componentConfigs
,
setComponentConfigs
]
=
useState
({})
...
...
@@ -303,7 +303,7 @@ const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
"componentName"
:
"ShopFloorLine.Category"
,
"props"
:
{
categoryAdvertPicUrl
:
categoryDetail
.
categoryAdvertPicUrl
,
categoryid
:
item
.
i
d
,
categoryid
:
item
.
categoryI
d
,
linkdisable
:
true
,
categoryList
:
categoryDetail
.
categoryBOList
},
...
...
@@ -315,7 +315,7 @@ const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
"componentName"
:
"ShopFloorLine.Goods"
,
"props"
:
{
linkdisable
:
true
,
categoryid
:
item
.
i
d
,
categoryid
:
item
.
categoryI
d
,
goodsList
:
categoryDetail
.
goodsBOList
},
},
...
...
src/pages/editor/shopEdit/index.tsx
View file @
0770a00e
...
...
@@ -191,7 +191,7 @@ const ShopEdit: React.FC<ShopEditPropsType> = (props) => {
"componentName"
:
"ShopFloorLine.Category"
,
"props"
:
{
categoryAdvertPicUrl
:
categoryDetail
.
categoryAdvertPicUrl
,
categoryid
:
item
.
i
d
,
categoryid
:
item
.
categoryI
d
,
categoryList
:
categoryDetail
.
categoryBOList
},
},
...
...
@@ -202,7 +202,7 @@ const ShopEdit: React.FC<ShopEditPropsType> = (props) => {
"componentName"
:
"ShopFloorLine.Goods"
,
"props"
:
{
linkdisable
:
true
,
categoryid
:
item
.
i
d
,
categoryid
:
item
.
categoryI
d
,
goodsList
:
categoryDetail
.
goodsBOList
},
},
...
...
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