From de516477e7c11d667b3d77f6a37b5df8e893bd29 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 22 二月 2022 09:50:45 +0800 Subject: [PATCH] 2022-02-22 --- src/tabviews/custom/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 406c381..419377f 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -40,6 +40,7 @@ const PagemsgComponent = asyncComponent(() => import('@/tabviews/zshare/pageMessage')) const CustomChart = asyncComponent(() => import('./components/chart/custom-chart')) const TimeLine = asyncComponent(() => import('./components/timeline/normal-timeline')) +const Voucher = asyncComponent(() => import('./components/module/voucher')) class CustomPage extends Component { static propTpyes = { @@ -1170,6 +1171,12 @@ <CustomChart config={item} data={data} BID={_bid} mainSearch={mainSearch} menuType={menuType} /> </Col> ) + } else if (item.type === 'module' && item.subtype === 'voucher') { + return ( + <Col span={item.width} key={item.uuid}> + <Voucher config={item} BID={_bid} /> + </Col> + ) } else { return null } -- Gitblit v1.8.0