From 5ae8e447c55f61508546e00559f54eb623a5c803 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 31 七月 2020 19:23:38 +0800 Subject: [PATCH] 2020-07-31 --- src/tabviews/commontable/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index e7d9944..f09b8fe 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -2,7 +2,7 @@ import PropTypes from 'prop-types' import {connect} from 'react-redux' import { is, fromJS } from 'immutable' -import { notification, Spin, Tabs, Icon, Switch, Modal, Button, message, Tree, Typography, Col } from 'antd' +import { notification, Spin, Tabs, Icon, Switch, Modal, Button, message, Tree, Typography, Row, Col } from 'antd' import moment from 'moment' import Api from '@/api' @@ -1045,7 +1045,7 @@ refreshdata={this.refreshbysearch} /> : null } - {setting && setting.onload !== 'false' ? <div className="chart-view"> + {setting && setting.onload !== 'false' ? <Row className="chart-view" gutter={16}> {/* 瑙嗗浘缁� */} {!config.expand ? <Tabs activeKey={chartId} onChange={this.changeChart}> {config.charts.map(item => ( @@ -1145,7 +1145,7 @@ ) } })} - </div> : null } + </Row> : null } {setting && setting.onload !== 'false' && config.tabgroups.map(group => ( <Tabs activeKey={tabActive[group.uuid]} key={group.uuid} onChange={(key) => this.setState({tabActive: {...tabActive, [group.uuid]: key}})}> -- Gitblit v1.8.0