Commit 9c3225d1 authored by 陈帅's avatar 陈帅

add GridContent

parent 34418ae2
......@@ -8,6 +8,7 @@ import PageLoading from './components/PageLoading';
import { Dispatch } from 'redux';
import { IAnalysisData } from './data.d';
import { RadioChangeEvent } from 'antd/lib/radio';
import { GridContent } from '@ant-design/pro-layout';
const IntroduceRow = React.lazy(() => import('./components/IntroduceRow'));
const SalesCard = React.lazy(() => import('./components/SalesCard'));
......@@ -156,6 +157,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component<
const activeKey = currentTabKey || (offlineData[0] && offlineData[0].name);
return (
<GridContent>
<React.Fragment>
<Suspense fallback={<PageLoading />}>
<IntroduceRow loading={loading} visitData={visitData} />
......@@ -203,6 +205,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component<
/>
</Suspense>
</React.Fragment>
</GridContent>
);
}
}
......
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