Commit afde0d60 authored by 程恺文's avatar 程恺文

fix:增加水利包

parent e73a237c
Pipeline #91012 passed with stages
......@@ -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_drainage/map')) ? (
{(window.location.pathname.startsWith('/civbase/civ_3d/map')||(window.location.pathname.startsWith('/civbase/civ_waterresources/map') || window.location.pathname.startsWith('/civbase/civ_drainage/map')) ? (
<KeepAlive>
<CesiumMap />
</KeepAlive>
......
......@@ -285,7 +285,7 @@ const Layout = props => {
>
<>
<Suspense fallback={<></>}>
{window.location.pathname.startsWith('/civbase/civ_3d') || window.location.pathname.startsWith('/civbase/civ_drainage') ? (
{window.location.pathname.startsWith('/civbase/civ_3d') ||window.location.pathname.startsWith('/civbase/civ_waterresources') || window.location.pathname.startsWith('/civbase/civ_drainage') ? (
<KeepAlive>
<CesiumMap />
</KeepAlive>
......
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