|
|
@@ -60,6 +60,7 @@ class ChooseChartBox extends React.Component {
|
|
|
const { dispatch, hideBox } = this.props;
|
|
|
if(selectedRecords.length > 0) {
|
|
|
dispatch({ type: 'dashboardDesigner/addCharts', charts: selectedRecords });
|
|
|
+ hideBox();
|
|
|
setTimeout(() => {
|
|
|
// 滚动到最底部
|
|
|
let viewScrollContent = document.querySelector('.viewlayout');
|
|
|
@@ -68,7 +69,6 @@ class ChooseChartBox extends React.Component {
|
|
|
}else {
|
|
|
message.warning('请选择需要填加的图表');
|
|
|
}
|
|
|
- hideBox();
|
|
|
}
|
|
|
|
|
|
onSearch = (list) => {
|