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
d4326c80
Commit
d4326c80
authored
Jun 12, 2023
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复缓存
parent
96fb9a33
Pipeline
#74032
passed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
BasicLayout.js
src/layouts/BasicLayout.js
+3
-3
No files found.
src/layouts/BasicLayout.js
View file @
d4326c80
...
@@ -6,7 +6,7 @@ import classNames from 'classnames';
...
@@ -6,7 +6,7 @@ import classNames from 'classnames';
import
Cookies
from
'js-cookie'
;
import
Cookies
from
'js-cookie'
;
import
_
from
'lodash'
;
import
_
from
'lodash'
;
import
memoized
from
'nano-memoize'
;
import
memoized
from
'nano-memoize'
;
import
KeepAlive
,
{
AliveScope
}
from
'react-activation'
;
import
KeepAlive
from
'react-activation'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
matchRoutes
}
from
'react-router-dom'
;
import
{
matchRoutes
}
from
'react-router-dom'
;
import
RightContent
from
'@/components/GlobalHeader/SimpleRiightContent'
;
import
RightContent
from
'@/components/GlobalHeader/SimpleRiightContent'
;
...
@@ -499,7 +499,7 @@ const Layout = props => {
...
@@ -499,7 +499,7 @@ const Layout = props => {
{
/* <ArcgisMap options={{ type: 'ArcgisMap' }} /> */
}
{
/* <ArcgisMap options={{ type: 'ArcgisMap' }} /> */
}
{
/* ) */
}
{
/* ) */
}
{
/* ) : null} */
}
{
/* ) : null} */
}
<
AliveScope
>
{
/* <AliveScope> */
}
{
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_3d/map'
)
||
isHaveMap
()
?
(
{
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_3d/map'
)
||
isHaveMap
()
?
(
<
KeepAlive
when
=
{
true
}
>
<
KeepAlive
when
=
{
true
}
>
<
CesiumMap
/>
<
CesiumMap
/>
...
@@ -507,7 +507,7 @@ const Layout = props => {
...
@@ -507,7 +507,7 @@ const Layout = props => {
)
:
(
)
:
(
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_webgis'
)
&&
null
window
.
location
.
pathname
.
startsWith
(
'/civbase/civ_webgis'
)
&&
null
)}
)}
<
/AliveScope
>
{
/* </AliveScope> */
}
<
/Suspense
>
<
/Suspense
>
<
div
id
=
"micro-container"
className
=
"subapp-container"
>
<
div
id
=
"micro-container"
className
=
"subapp-container"
>
...
...
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