diff --git a/src/components/Charts/ChartCard/index.js b/src/components/Charts/ChartCard/index.js index c3ee1865eebea037cdd7302d00d4f93f9d56af33..5f74de5052eb3da27a9c35c6a9cd366df2311c4d 100644 --- a/src/components/Charts/ChartCard/index.js +++ b/src/components/Charts/ChartCard/index.js @@ -1,5 +1,5 @@ import React from 'react'; -import { Card, Spin } from 'antd'; +import { Card } from 'antd'; import classNames from 'classnames'; import styles from './index.less'; @@ -64,12 +64,8 @@ const ChartCard = ({ ); return ( - - { - - {content} - - } + + {content} ); }; diff --git a/src/components/Charts/ChartCard/index.less b/src/components/Charts/ChartCard/index.less index fa2eb16df200ce519b82dc355cfe6c2ee2b3a5d7..bee449387a1fad968dd10b958704910583331178 100644 --- a/src/components/Charts/ChartCard/index.less +++ b/src/components/Charts/ChartCard/index.less @@ -72,7 +72,3 @@ margin-top: 20px; } } - -.spin :global(.ant-spin-container) { - overflow: visible; -} diff --git a/src/routes/Dashboard/Analysis.js b/src/routes/Dashboard/Analysis.js index 6ffb6df7c0d602f3ec57d6a09796be43f88b41b5..82c3a6159b814facad29681aebb77502b0e849fa 100644 --- a/src/routes/Dashboard/Analysis.js +++ b/src/routes/Dashboard/Analysis.js @@ -261,6 +261,7 @@ export default class Analysis extends Component { @@ -284,6 +285,7 @@ export default class Analysis extends Component { @@ -300,6 +302,7 @@ export default class Analysis extends Component { @@ -316,6 +319,7 @@ export default class Analysis extends Component {