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
b124ef03
Commit
b124ef03
authored
Oct 28, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 自营商城小程序装修跳转
parent
a72936ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.tsx
src/pages/ownMall/ownMallManager/templateDetail/index.tsx
+2
-2
No files found.
src/pages/ownMall/ownMallManager/templateDetail/index.tsx
View file @
b124ef03
...
...
@@ -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