Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
bab26dcb
Commit
bab26dcb
authored
Feb 22, 2023
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复嵌入web5后路由报错问题
parent
9faf6988
Pipeline
#67834
passed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
6 deletions
+22
-6
BasicLayout.jsx
src/layouts/BasicLayout.jsx
+1
-1
WorkflowHomePage.jsx
...ges/bsmanager/workOrder/workflowEdit/WorkflowHomePage.jsx
+7
-1
WorkflowHomePage.less
...es/bsmanager/workOrder/workflowEdit/WorkflowHomePage.less
+14
-4
No files found.
src/layouts/BasicLayout.jsx
View file @
bab26dcb
...
...
@@ -85,7 +85,7 @@ const BasicLayout = props => {
return
(
<>
{
sessionStorage
.
getItem
(
'_omsticket'
)
==
'd438aaf9578f405299ae740c4eb75aae'
?
(
<
>
{
renderRoutes
(
props
.
route
.
routes
)
}
</
>
<
Switch
>
{
renderRoutes
(
props
.
route
.
routes
)
}
</
Switch
>
)
:
(
<
ProLayout
logo=
{
()
=>
<
img
src=
{
logo
}
style=
{
{
width
:
'32px'
,
height
:
'32px'
}
}
alt=
""
/>
}
...
...
src/pages/bsmanager/workOrder/workflowEdit/WorkflowHomePage.jsx
View file @
bab26dcb
...
...
@@ -288,7 +288,13 @@ const WorkflowHomePage = () => {
TweenMax
.
to
(
`.
${
styles
.
flowTable
}
`
,
1
,
{
scrollTo
:
val
.
href
});
};
return
(
<
div
className=
{
styles
.
pageContent
}
>
<
div
className=
{
classnames
(
styles
.
pageContent
,{
[
styles
.
pageOms
]:
sessionStorage
.
getItem
(
'_omsticket'
)
!==
'd438aaf9578f405299ae740c4eb75aae'
,
[
styles
.
pageEmbed
]:
sessionStorage
.
getItem
(
'_omsticket'
)
===
'd438aaf9578f405299ae740c4eb75aae'
,
})
}
>
<
div
className=
{
styles
.
headerBox
}
>
<
div
className=
{
styles
.
left
}
>
<
div
...
...
src/pages/bsmanager/workOrder/workflowEdit/WorkflowHomePage.less
View file @
bab26dcb
.pageContent {
margin-top: -12px;
margin-left: -12px;
width: calc(100% + 24px);
height: calc(100% + 24px);
background: url("../../../../assets/images/workFlow/index/bg.png") no-repeat;
background-size: 100% 100%;
display: flex;
...
...
@@ -359,4 +356,16 @@
}
}
}
}
.pageOms {
margin-top: -12px;
margin-left: -12px;
width: calc(100% + 24px);
height: calc(100% + 24px);
}
.pageEmbed {
width: 100%;
height: 100%;
}
\ No newline at end of file
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