diff --git a/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx b/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx index 7aa55dd9c1a442ca8f350830abdeb55976727573..2e12183b629fb4fbe5dc52806fc8b016b62392b5 100644 --- a/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx +++ b/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx @@ -28,9 +28,6 @@ export interface MiniAreaProps { }[]; } -// g2 4.0 发布之前只能这样先修一下了 -const FixTypeAxis: any = Axis; - const MiniArea: React.FC = props => { const { height = 1, @@ -82,22 +79,22 @@ const MiniArea: React.FC = props => { data={data} padding={padding} > - - diff --git a/DashboardAnalysis/src/components/IntroduceRow.tsx b/DashboardAnalysis/src/components/IntroduceRow.tsx index 8057b6c80e1ca1e8ed9cad04a23a3d1690a80d5b..e97a96a899a32fdfcdba69e94d001ab603cca2e8 100644 --- a/DashboardAnalysis/src/components/IntroduceRow.tsx +++ b/DashboardAnalysis/src/components/IntroduceRow.tsx @@ -19,7 +19,7 @@ const topColResponsiveProps = { }; const IntroduceRow = ({ loading, visitData }: { loading: boolean; visitData: VisitDataType[] }) => ( - + ( - + } - bodyStyle={{ padding: 24 }} + style={{ + height: '100%', + }} extra={
{dropdownGroup} @@ -50,13 +52,8 @@ const ProportionSales = ({
} - style={{ marginTop: 24 }} > -
+

diff --git a/DashboardAnalysis/src/components/SalesCard.tsx b/DashboardAnalysis/src/components/SalesCard.tsx index 269e1902bc39481173277ca406324419172761aa..c7317eb111d4e5c9aedd4b616894b641925e18de 100644 --- a/DashboardAnalysis/src/components/SalesCard.tsx +++ b/DashboardAnalysis/src/components/SalesCard.tsx @@ -67,7 +67,7 @@ const SalesCard = ({ tab={} key="sales" > - +
} extra={dropdownGroup} - style={{ marginTop: 24 }} + style={{ + height: '100%', + }} > - + - + = props => { const { height = 1, @@ -82,7 +79,7 @@ const MiniArea: React.FC = props => { data={data} padding={padding} > - = props => { grid={null} {...xAxis} /> -