Commit 69a3a700 authored by 秦文海's avatar 秦文海

chore:移除cesium

parent 1d8aebf5
Pipeline #90357 waiting for manual action with stages
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment