diff --git a/src/pages/dashboard/monitor/components/Map/index.tsx b/src/pages/dashboard/monitor/components/Map/index.tsx index ff9d924..7313ed6 100644 --- a/src/pages/dashboard/monitor/components/Map/index.tsx +++ b/src/pages/dashboard/monitor/components/Map/index.tsx @@ -11,19 +11,19 @@ export default class Map extends React.Component { }; public async componentDidMount() { - const [geoData, gridData] = await Promise.all([ - fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/c5dba875-b6ea-4e88-b778-66a862906c93.json', - ).then((d) => d.json()), - fetch( - 'https://gw.alipayobjects.com/os/bmw-prod/8990e8b4-c58e-419b-afb9-8ea3daff2dd1.json', - ).then((d) => d.json()), - ]); - this.setState({ - data: geoData, - grid: gridData, - loading: true, - }); + // const [geoData, gridData] = await Promise.all([ + // fetch( + // 'https://gw.alipayobjects.com/os/bmw-prod/c5dba875-b6ea-4e88-b778-66a862906c93.json', + // ).then((d) => d.json()), + // fetch( + // 'https://gw.alipayobjects.com/os/bmw-prod/8990e8b4-c58e-419b-afb9-8ea3daff2dd1.json', + // ).then((d) => d.json()), + // ]); + // this.setState({ + // data: geoData, + // grid: gridData, + // loading: true, + // }); } public render() { diff --git a/src/pages/list/list/index.tsx b/src/pages/list/list/index.tsx index a332344..f3fb354 100644 --- a/src/pages/list/list/index.tsx +++ b/src/pages/list/list/index.tsx @@ -348,31 +348,31 @@ const TableList: React.FC = () => { }} tabList={[ { - tab: '列表1', + tab: 'echarts', key: '1', }, { - tab: '列表2', + tab: 'openlayers', key: '2', }, { - tab: '列表3', + tab: 'cesium', key: '3', }, { - tab: '列表4', + tab: 'web-vue', key: '4', }, { - tab: '列表5', + tab: 'web-elementui', key: '5', }, { - tab: '列表6', + tab: 'web-react', key: '6', }, { - tab: '列表7', + tab: 'web-antd', key: '7', }, {