From 9c3225d1e52f0c743a530411f1f556fb23dcf3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 16 Apr 2019 15:26:12 +0800 Subject: [PATCH] add GridContent --- Analysis/src/index.tsx | 97 ++++++++++++++++++++++-------------------- package.json | 2 +- 2 files changed, 51 insertions(+), 48 deletions(-) diff --git a/Analysis/src/index.tsx b/Analysis/src/index.tsx index 201009c6..005e8a20 100644 --- a/Analysis/src/index.tsx +++ b/Analysis/src/index.tsx @@ -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,53 +157,55 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component< const activeKey = currentTabKey || (offlineData[0] && offlineData[0].name); return ( - - }> - - - - - - - - - - - - - - - - - - - - - + + + }> + + + + + + + + + + + + + + + + + + + + + + ); } } diff --git a/package.json b/package.json index a70bd2ee..2147aeec 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "stylelint-config-prettier": "^4.0.0", "stylelint-config-standard": "^18.0.0", "umi": "^2.3.0-0", - "umi-plugin-block-dev": "^1.3.1", + "umi-plugin-block-dev": "^2.0.1", "umi-plugin-react": "^1.3.0-0", "umi-request": "^1.0.0" }, -- GitLab