From 891e8aaad3b2ce6980fd44d1cf49192dca1c3c66 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 23 十一月 2022 14:30:30 +0800 Subject: [PATCH] 2022-11-23 --- src/tabviews/custom/components/group/normal-group/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/group/normal-group/index.jsx b/src/tabviews/custom/components/group/normal-group/index.jsx index ac0cc08..3fe7aea 100644 --- a/src/tabviews/custom/components/group/normal-group/index.jsx +++ b/src/tabviews/custom/components/group/normal-group/index.jsx @@ -33,6 +33,7 @@ const Balcony = asyncComponent(() => import('@/tabviews/custom/components/card/balcony')) const TimeLine = asyncComponent(() => import('@/tabviews/custom/components/timeline/normal-timeline')) const CustomChart = asyncComponent(() => import('@/tabviews/custom/components/chart/custom-chart')) +const AntvG6 = asyncComponent(() => import('@/tabviews/custom/components/chart/antv-G6')) class TabTransfer extends Component { static propTpyes = { @@ -265,6 +266,12 @@ <CustomChart config={item} data={data} mainSearch={mainSearch}/> </Col> ) + } else if (item.type === 'antvG6') { + return ( + <Col span={item.width} style={style} key={item.uuid}> + <AntvG6 config={item} data={data} mainSearch={mainSearch}/> + </Col> + ) } else { return null } -- Gitblit v1.8.0