diff --git a/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx b/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx index e2eecb425250d201c9857cf8f855749b2d28b26f..225e087cd74e7e4e0ac0aab3d8fca83576ced029 100644 --- a/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx +++ b/DashboardAnalysis/src/components/Charts/MiniArea/index.tsx @@ -28,6 +28,9 @@ export interface MiniAreaProps { }[]; } +// g2 4.0 发布之前只能这样先修一下了 +const FixTypeAxis: any = Axis; + const MiniArea: React.FC = props => { const { height = 1, @@ -79,22 +82,22 @@ const MiniArea: React.FC = props => { data={data} padding={padding} > - - diff --git a/DashboardMonitor/src/components/Charts/MiniArea/index.tsx b/DashboardMonitor/src/components/Charts/MiniArea/index.tsx index 22ea7f0b4ef56c83a3ecfa296d0e618a79c7c788..9c35cdf205a06717da31795eb840df7f0af57ebf 100644 --- a/DashboardMonitor/src/components/Charts/MiniArea/index.tsx +++ b/DashboardMonitor/src/components/Charts/MiniArea/index.tsx @@ -27,6 +27,8 @@ export interface MiniAreaProps { y: number; }[]; } +// g2 4.0 发布之前只能这样先修一下了 +const FixTypeAxis: any = Axis; const MiniArea: React.FC = props => { const { @@ -79,22 +81,22 @@ const MiniArea: React.FC = props => { data={data} padding={padding} > - -