From d7534812c8199bf1e9faa0279b63e434737d6374 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 16 四月 2021 16:06:27 +0800 Subject: [PATCH] 2021-04-16 --- src/tabviews/custom/components/card/table-card/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tabviews/custom/components/card/table-card/index.jsx b/src/tabviews/custom/components/card/table-card/index.jsx index 45ee4dc..1ce92a1 100644 --- a/src/tabviews/custom/components/card/table-card/index.jsx +++ b/src/tabviews/custom/components/card/table-card/index.jsx @@ -1,7 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' -import { Spin, notification, Col, Empty, Pagination } from 'antd' +import { Spin, notification, Row, Col, Empty, Pagination } from 'antd' import Api from '@/api' import Utils from '@/utils/utils.js' @@ -351,9 +351,9 @@ </div> : null } <NormalHeader config={config} BID={BID} menuType={this.props.menuType} refresh={this.refreshSearch} /> - {data && data.length > 0 ? <div className="card-row-list" style={{height: config.wrap.contentHeight}}> + {data && data.length > 0 ? <Row className="card-row-list" style={{height: config.wrap.contentHeight}}> {data.map((item, index) => this.getLines(item, preIndex + index + 1))} - </div> : null} + </Row> : null} {data && data.length === 0 ? <div className="card-row-list" style={{height: config.wrap.contentHeight}}> <Empty description={false}/> </div> : null} -- Gitblit v1.8.0