// import MyModalsMapLeaflet from '@/components/ModalsMapLeaflet';
import { Apis } from '@/gen/Apis';
import { FloatButton } from 'antd';
import LayoutLeft from './components/LayoutLeft';
import LayoutRight from './components/LayoutRight';
import './style.scss';
export default function Index() {
  return (
    <div className="overview_content">
      <div className="overview_left">
        <LayoutLeft />
      </div>
      <div className="overview_right">
        <LayoutRight />
      </div>
      <FloatButton
        // icon={<Loading3QuartersOutlined />}
        description="刷新"
        onClick={() => {
          Apis.Statistics.IndexCount.ClearCache().then(() => {
            // message.success('刷新成功');
            window.location.reload();
          });
        }}
      />
    </div>
  );
}
