From 182445f68ca03beb95a90e57867f356fe155126b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 13 十一月 2021 21:14:23 +0800 Subject: [PATCH] 2021-11-13 --- src/menu/components/chart/antv-dashboard/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu/components/chart/antv-dashboard/index.jsx b/src/menu/components/chart/antv-dashboard/index.jsx index a6c9c1e..58f608b 100644 --- a/src/menu/components/chart/antv-dashboard/index.jsx +++ b/src/menu/components/chart/antv-dashboard/index.jsx @@ -466,7 +466,7 @@ updateComponent = (component) => { const card = fromJS(this.state.card).toJS() - if (!is(fromJS(component.plot), fromJS(card.plot)) || !is(fromJS(component.style), fromJS(card.style))) { + if (!is(fromJS(component.plot), fromJS(card.plot)) || !is(fromJS(component.style), fromJS(card.style)) || !is(fromJS(component.search), fromJS(card.search))) { let _element = document.getElementById(card.uuid + 'dashboard') if (_element) { _element.innerHTML = '' @@ -528,7 +528,7 @@ } trigger="hover"> <Icon type="tool" /> </Popover> - {card.plot.title ? <NormalHeader config={card} updateComponent={this.updateComponent}/> : null} + <NormalHeader hideSearch="true" config={card} updateComponent={this.updateComponent}/> <div className="canvas" id={card.uuid + 'dashboard'} ref={ref => this.wrap = ref}></div> </div> ) -- Gitblit v1.8.0