Commit 1c50eb6c authored by 秦文海's avatar 秦文海

chore:三维按需加载

parent e97ae839
......@@ -297,7 +297,7 @@ const Layout = props => {
{/* <ArcgisMap options={{ type: 'ArcgisMap' }} /> */}
{/* ) */}
{/* ) : null} */}
{window.location.pathname.startsWith('/civbase/civ_3d') ? (
{window.location.pathname.startsWith('/civbase/civ_3d/map') ? (
<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