From 6ed64ed071c75901ed8848131bfefa51c5c27fce Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 24 九月 2020 23:51:51 +0800 Subject: [PATCH] 2020-09-24 --- src/menu/components/card/data-card/index.jsx | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/menu/components/card/data-card/index.jsx b/src/menu/components/card/data-card/index.jsx index 3c55cab..2cd1ab4 100644 --- a/src/menu/components/card/data-card/index.jsx +++ b/src/menu/components/card/data-card/index.jsx @@ -15,6 +15,7 @@ const SettingComponent = asyncIconComponent(() => import('@/menu/datasource')) const WrapComponent = asyncIconComponent(() => import('./wrapsetting')) const ActionComponent = asyncComponent(() => import('@/menu/actioncomponent')) +const CardCellComponent = asyncComponent(() => import('../cardcellcomponent')) class antvBarLineChart extends Component { static propTpyes = { @@ -117,13 +118,8 @@ <Icon type="tool" /> </Popover> <div className={'ant-col card-item ant-col-' + (card.wrap.cardWidth || 6)} style={{height: card.wrap.height ? card.wrap.height + 'px' : 'auto'}}> - - <ActionComponent - config={card} - tabs={[]} - // setSubConfig={(_btn) => this.setSubConfig(_btn, 'button')} - updateaction={this.updateComponent} - /> + <CardCellComponent config={card} updateElement={this.updateComponent}/> + <ActionComponent config={card} updateaction={this.updateComponent}/> </div> </div> ) -- Gitblit v1.8.0