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
eab065db
Commit
eab065db
authored
Oct 29, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
8617c758
17974c10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.tsx
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
+1
-1
index.tsx
src/pages/ownMall/ownMallManager/templateDetail/index.tsx
+2
-2
No files found.
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
View file @
eab065db
...
...
@@ -179,7 +179,7 @@ const OwnMallTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
};
const
res
=
await
PublicApi
.
getManageMemberInformationListAdorn
(
param
);
message
.
destroy
()
if
(
res
.
code
===
1000
&&
res
.
data
.
data
)
{
if
(
res
.
code
===
1000
&&
res
.
data
.
data
&&
res
.
data
.
data
.
length
>
0
)
{
return
res
.
data
.
data
[
0
].
title
;
}
return
''
;
...
...
src/pages/ownMall/ownMallManager/templateDetail/index.tsx
View file @
eab065db
...
...
@@ -61,7 +61,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => {
if
(
detailInfo
?.
environment
===
1
)
{
// 自营商城装修
window
.
location
.
href
=
`/memberCenter/ownMallAbility/ownMallManager/template/edit?id=
${
detailInfo
.
id
}
&template=
${
detailInfo
.
fileName
}
&shopId=
${
detailInfo
.
shopId
}
`
}
else
if
(
detailInfo
?.
environment
===
4
)
{
}
else
if
(
detailInfo
?.
environment
===
4
||
detailInfo
?.
environment
===
3
||
detailInfo
?.
environment
===
2
)
{
// 自营商城装修
window
.
location
.
href
=
`/memberCenter/ownMallAbility/ownMallManager/template/mobile/edit?id=
${
detailInfo
.
id
}
&template=
${
detailInfo
.
fileName
}
&shopId=
${
detailInfo
.
shopId
}
`
}
else
{
...
...
@@ -72,7 +72,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => {
const
handleLinkPreview
=
()
=>
{
if
(
detailInfo
?.
environment
===
1
)
{
window
.
location
.
href
=
`/memberCenter/ownMallAbility/ownMallManager/template/preview?id=
${
detailInfo
.
id
}
&template=
${
detailInfo
.
fileName
}
&shopId=
${
detailInfo
.
shopId
}
`
}
else
if
(
detailInfo
?.
environment
===
4
)
{
}
else
if
(
detailInfo
?.
environment
===
4
||
detailInfo
?.
environment
===
3
||
detailInfo
?.
environment
===
2
)
{
window
.
location
.
href
=
`/memberCenter/ownMallAbility/ownMallManager/template/mobile/preview?id=
${
detailInfo
.
id
}
&template=
${
detailInfo
.
fileName
}
&shopId=
${
detailInfo
.
shopId
}
`
}
else
{
message
.
info
(
"暂不支持该类型模板预览"
)
...
...
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