From 8137ac074ce6370e4b46295e7acf9c7870ef82d2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 二月 2023 22:19:23 +0800 Subject: [PATCH] 2023-02-17 --- src/tabviews/custom/popview/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/popview/index.jsx b/src/tabviews/custom/popview/index.jsx index 6862c55..a3eb065 100644 --- a/src/tabviews/custom/popview/index.jsx +++ b/src/tabviews/custom/popview/index.jsx @@ -20,6 +20,7 @@ const AntvScatter = asyncComponent(() => import('../components/chart/antv-scatter')) const DataCard = asyncComponent(() => import('../components/card/data-card')) const PropCard = asyncComponent(() => import('../components/card/prop-card')) +const DoubleDataCard = asyncComponent(() => import('../components/card/double-data-card')) const SimpleForm = asyncComponent(() => import('../components/form/simple-form')) const StepForm = asyncComponent(() => import('../components/form/step-form')) const TabForm = asyncComponent(() => import('../components/form/tab-form')) @@ -864,6 +865,12 @@ <PropCard config={item} data={data} mainSearch={mainSearch}/> </Col> ) + } else if (item.type === 'card' && item.subtype === 'dualdatacard') { + return ( + <Col span={item.width} style={style} key={item.uuid}> + <DoubleDataCard config={item} mainSearch={mainSearch}/> + </Col> + ) } else if (item.type === 'table' && item.subtype === 'basetable') { return ( <Col span={item.width} style={style} key={item.uuid}> -- Gitblit v1.8.0