Commit 15164c7c authored by 赵瑞's avatar 赵瑞

chore:全景图版本更新

parent 5196e089
Pipeline #67932 passed with stages
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
"@wangeditor/editor": "^5.1.23", "@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-react": "^1.0.6", "@wangeditor/editor-for-react": "^1.0.6",
"@wisdom-cesium/cesium": "^1.0.78", "@wisdom-cesium/cesium": "^1.0.78",
"@wisdom-cesium/krpano": "^1.0.29-26", "@wisdom-cesium/krpano": "^1.0.29-28",
"@wisdom-map/amap": "1.1.0-beta.45", "@wisdom-map/amap": "1.1.0-beta.45",
"@wisdom-map/arcgismap": "1.4.0-124", "@wisdom-map/arcgismap": "1.4.0-124",
"@wisdom-map/basemap": "1.1.0-24", "@wisdom-map/basemap": "1.1.0-24",
......
...@@ -9,14 +9,26 @@ ...@@ -9,14 +9,26 @@
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import styles from './index.less'; import styles from './index.less';
import { EditProject } from '@wisdom-cesium/krpano'; import { EditProject } from '@wisdom-cesium/krpano';
import { GetBasicInfo } from '@/services/hostmanager/hostmanager';
const PanoramaConfig = () => { const PanoramaConfig = () => {
useEffect(() => {}, []); const [currentSite,setCurrentSite] = useState();
useEffect(() => {
getSiteCode();
}, []);
const getSiteCode = () => {
GetBasicInfo().then(res => {
if (res.code === 0) {
setCurrentSite(res.data);
}
});
};
return ( return (
<div className={styles.pageContent}> <div className={styles.pageContent}>
<div className={styles.container}> <div className={styles.container}>
<EditProject /> <EditProject site={currentSite}/>
</div> </div>
</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