Commit 0d706c08 authored by 赵瑞's avatar 赵瑞

fix:全景图修复

parent 164eafbe
Pipeline #63923 passed with stages
......@@ -91,6 +91,7 @@
"@babel/runtime": "^7.10.5",
"@esri/calcite-colors": "6.0.3",
"@wisdom-cesium/cesium": "^1.0.78",
"@wisdom-cesium/krpano": "^1.0.29-0",
"@wisdom-map/amap": "1.1.0-beta.40",
"@wisdom-map/arcgismap": "1.4.0-76",
"@wisdom-map/basemap": "1.1.0-18",
......
import React, { useState } from 'react';
import check from '@/components/Authorized/CheckPermissions';
import { matchRoutes, renderRoutes } from 'react-router-config';
import { Link } from 'react-router-dom';
import { Link, Switch } from 'react-router-dom';
import ProLayout, { DefaultFooter } from '@ant-design/pro-layout';
......@@ -103,7 +103,9 @@ const BasicLayout = props => {
}}
{...props}
>
{renderRoutes(props.route.routes)}
<Switch>
{renderRoutes(props.route.routes)}
</Switch>
</ProLayout>
)}
</>
......
......@@ -8,14 +8,16 @@
*/
import React, { useState, useEffect } from 'react';
import styles from './index.less';
// import { EditProject } from '@wisdom-cesium/krpano';
import { EditProject } from '@wisdom-cesium/krpano';
const PanoramaConfig = () => {
useEffect(() => {}, []);
return (
<div className={styles.pageContent}>
<div className={styles.container}>{/* <EditProject /> */}</div>
<div className={styles.container}>
<EditProject />
</div>
</div>
);
};
......
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