Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubichuan committed Nov 12, 2023
1 parent f4d5f46 commit 4648ee5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
26 changes: 13 additions & 13 deletions src/pages/dashboard/monitor/components/Map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
14 changes: 7 additions & 7 deletions src/pages/list/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
{
Expand Down

0 comments on commit 4648ee5

Please sign in to comment.