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
c62b703d
Commit
c62b703d
authored
Dec 17, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 自营商城装修获取资讯接口添加trycatch
parent
dcb1f0bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
index.tsx
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
+13
-9
No files found.
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
View file @
c62b703d
...
...
@@ -172,16 +172,20 @@ const OwnMallTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
};
const
getInfoList
=
async
()
=>
{
const
param
:
any
=
{
current
:
1
,
pageSize
:
1
,
};
const
res
=
await
getManageMemberInformationListAdorn
(
param
);
message
.
destroy
()
if
(
res
.
code
===
1000
&&
res
.
data
.
data
&&
res
.
data
.
data
.
length
>
0
)
{
return
res
.
data
.
data
[
0
].
title
;
try
{
const
param
:
any
=
{
current
:
1
,
pageSize
:
1
,
};
const
res
=
await
getManageMemberInformationListAdorn
(
param
);
message
.
destroy
()
if
(
res
.
code
===
1000
&&
res
.
data
.
data
&&
res
.
data
.
data
.
length
>
0
)
{
return
res
.
data
.
data
[
0
].
title
;
}
return
''
;
}
catch
(
error
)
{
return
''
;
}
return
''
;
};
const
getComponentsConfig
=
async
()
=>
{
...
...
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