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
linweijiong
jinfa-platform
Commits
637b9354
Commit
637b9354
authored
Mar 12, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 店铺装修无法选择商品问题
parent
d35478d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
index.tsx
src/pages/mobileTemplate/channelTemplateEdit/index.tsx
+1
-1
index.tsx
src/pages/mobileTemplate/shopTemplateEdit/index.tsx
+6
-1
No files found.
src/pages/mobileTemplate/channelTemplateEdit/index.tsx
View file @
637b9354
...
@@ -242,7 +242,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
...
@@ -242,7 +242,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
if
(
appConfig
?.
informationBO
)
{
if
(
appConfig
?.
informationBO
)
{
mobileChannelInformation
[
mobileChannelInformation
.
key
].
props
.
title
=
appConfig
?.
informationBO
.
title
mobileChannelInformation
[
mobileChannelInformation
.
key
].
props
.
title
=
appConfig
?.
informationBO
.
title
mobileChannelInformation
[
mobileChannelInformation
.
key
].
props
.
informationIdList
=
appConfig
?.
informationBO
.
informationIdList
mobileChannelInformation
[
mobileChannelInformation
.
key
].
props
.
informationIdList
=
appConfig
?.
informationBO
.
informationIdList
||
[]
mobileChannelInformation
[
mobileChannelInformation
.
key
].
props
.
dataList
=
await
getInformationInfo
(
appConfig
?.
informationBO
.
informationIdList
)
mobileChannelInformation
[
mobileChannelInformation
.
key
].
props
.
dataList
=
await
getInformationInfo
(
appConfig
?.
informationBO
.
informationIdList
)
}
}
...
...
src/pages/mobileTemplate/shopTemplateEdit/index.tsx
View file @
637b9354
...
@@ -128,7 +128,12 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
...
@@ -128,7 +128,12 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
* @param idList
* @param idList
*/
*/
const
fetchCategoryByCommodityId
=
(
idList
:
number
[])
=>
{
const
fetchCategoryByCommodityId
=
(
idList
:
number
[])
=>
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
if
(
!
idList
)
{
resolve
([])
return
}
const
param
=
{
const
param
=
{
idList
idList
}
}
...
@@ -170,7 +175,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
...
@@ -170,7 +175,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
mobileShopCommodityList
[
mobileShopCommodityList
.
key
].
props
=
{
mobileShopCommodityList
[
mobileShopCommodityList
.
key
].
props
=
{
storeId
:
shopInfo
.
id
,
storeId
:
shopInfo
.
id
,
title
:
appConfig
.
productBO
.
title
,
title
:
appConfig
.
productBO
.
title
,
productIdList
:
appConfig
.
productBO
.
productIdList
,
productIdList
:
appConfig
.
productBO
.
productIdList
||
[]
,
dataList
,
dataList
,
}
}
}
else
{
}
else
{
...
...
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