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
6096db50
Commit
6096db50
authored
Jan 21, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: app企业商城装修问题修改
parent
2ab433ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
index.tsx
src/pages/pageCustomized/mobileEdit/index.tsx
+10
-6
No files found.
src/pages/pageCustomized/mobileEdit/index.tsx
View file @
6096db50
...
...
@@ -120,16 +120,20 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
}
switch
(
data
.
type
)
{
case
1
:
param
.
idInList
=
data
.
recommend
getFn
=
PublicApi
.
postSearchMobileShopEnterpriseGetCommodityList
if
(
data
.
recommend
&&
Array
.
isArray
(
data
.
recommend
)
&&
data
.
recommend
.
length
>
0
)
{
param
.
idInList
=
data
.
recommend
getFn
=
PublicApi
.
postSearchMobileShopEnterpriseGetCommodityList
}
break
case
2
:
param
.
idList
=
data
.
recommend
getFn
=
PublicApi
.
getTemplateWebMemberShopWebRecommendList
break
case
3
:
param
.
idList
=
data
.
recommend
getFn
=
PublicApi
.
postSearchMobileShopEnterpriseGetCategoryBrand
if
(
data
.
recommend
&&
Array
.
isArray
(
data
.
recommend
)
&&
data
.
recommend
.
length
>
0
)
{
param
.
idList
=
data
.
recommend
getFn
=
PublicApi
.
postSearchMobileShopEnterpriseGetCategoryBrand
}
break
case
4
:
param
.
idList
=
data
.
recommend
...
...
@@ -142,8 +146,8 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
message
.
destroy
()
resolve
(
data
.
type
===
3
?
res
.
data
:
res
.
data
.
data
)
}).
catch
(()
=>
{
resolve
(
undefined
)
})
:
resolve
(
undefined
)
resolve
(
[]
)
})
:
resolve
(
[]
)
})
}
...
...
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