Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
CivWeb
Commits
ea52d990
Commit
ea52d990
authored
1 year ago
by
罗剑
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排水三维加载问题
parent
8b0749ce
master
devNew
soundai
test
1 merge request
!37
Master
Pipeline
#84261
passed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
BasicLayout.js
src/layouts/BasicLayout.js
+1
-2
BasicLayout_tags.js
src/layouts/BasicLayout_tags.js
+1
-1
HNLayout.js
src/layouts/HNLayout.js
+1
-1
No files found.
src/layouts/BasicLayout.js
View file @
ea52d990
...
...
@@ -663,7 +663,6 @@ const Layout = props => {
});
}
};
return (
<SecurityLayout {...props}>
<BasicLayout
...
...
@@ -747,7 +746,7 @@ const Layout = props => {
{/* ) */}
{/* ) : null} */}
{/* <AliveScope> */}
{window.location.pathname.startsWith('/civbase/civ_3d/map') || isHaveMap() ? (
{window.location.pathname.startsWith('/civbase/civ_3d/map') ||
window.location.pathname.startsWith('/civbase/civ_drainage/map') ||
isHaveMap() ? (
<KeepAlive when={true}>
<CesiumMap />
</KeepAlive>
...
...
This diff is collapsed.
Click to expand it.
src/layouts/BasicLayout_tags.js
View file @
ea52d990
...
...
@@ -310,7 +310,7 @@ const Layout = props => {
{
/* <ArcgisMap options={{ type: 'ArcgisMap' }} /> */
}
{
/* ) */
}
{
/* ) : null} */
}
{
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_3d/map'
)
?
(
{
(
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_3d/map'
)
||
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_drainage/map'
)
)
?
(
<
KeepAlive
>
<
CesiumMap
/>
<
/KeepAlive
>
...
...
This diff is collapsed.
Click to expand it.
src/layouts/HNLayout.js
View file @
ea52d990
...
...
@@ -285,7 +285,7 @@ const Layout = props => {
>
<>
<
Suspense
fallback
=
{
<><
/>}
>
{
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_3d'
)
?
(
{
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_3d'
)
||
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_drainage'
)
?
(
<
KeepAlive
>
<
CesiumMap
/>
<
/KeepAlive
>
...
...
This diff is collapsed.
Click to expand it.
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