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
69a3a700
Commit
69a3a700
authored
Jul 01, 2024
by
秦文海
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore:移除cesium
parent
1d8aebf5
Pipeline
#90357
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
BasicLayout.js
src/layouts/BasicLayout.js
+5
-5
No files found.
src/layouts/BasicLayout.js
View file @
69a3a700
...
...
@@ -42,7 +42,7 @@ const { params } = helpers;
let
notify
=
null
;
// const ArcgisMap = React.lazy(() => import('../pages/map/arcgis'));
// const AMap = React.lazy(() => import('../pages/map/amap'));
const
CesiumMap
=
React
.
lazy
(()
=>
import
(
'../pages/map/cesiumMap'
));
//
const CesiumMap = React.lazy(() => import('../pages/map/cesiumMap'));
const
waitTime
=
(
time
=
100
)
=>
new
Promise
(
resolve
=>
{
...
...
@@ -773,7 +773,7 @@ const Layout = props => {
: <></>
)}
>
<Suspense fallback={<></>}>
{/* <Suspense fallback={<></>}> */}
{/* {window.location.pathname.startsWith('/civbase/civ_3d') ? ( */}
{/* <KeepAlive> */}
{/* <CesiumMap /> */}
...
...
@@ -786,15 +786,15 @@ const Layout = props => {
{/* ) */}
{/* ) : null} */}
{/* <AliveScope> */}
{window.location.pathname.startsWith('/civbase/civ_drainage/map') || isHaveMap() ? (
{
/* {
window.location.pathname.startsWith('/civbase/civ_drainage/map') || isHaveMap() ? (
<KeepAlive when={true}>
<CesiumMap />
</KeepAlive>
) : (
window.location.pathname.startsWith('/civbase/civ_webgis') && null
)}
)}
*/}
{/* </AliveScope> */}
</Suspense>
{/* </Suspense> */}
<div id="micro-container" className="subapp-container">
{props.children}
...
...
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