From eb31b84962c192de57abbb473cb4733a09bf4363 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 14 五月 2020 18:09:40 +0800 Subject: [PATCH] 2020-05-14 --- src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx index 8ed8dfd..17634e6 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx @@ -1,6 +1,6 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' -import { Form, Tabs, Row, Col, Input, Button, Table, Popconfirm, Icon, notification, Modal, message, InputNumber, Radio } from 'antd' +import { Form, Tabs, Row, Col, Input, Button, Table, Popconfirm, Icon, notification, Modal, message, InputNumber, Radio, Typography } from 'antd' import moment from 'moment' import Api from '@/api' @@ -13,6 +13,7 @@ const { TabPane } = Tabs const { confirm } = Modal +const { Paragraph } = Typography class VerifyCard extends Component { static propTpyes = { @@ -145,7 +146,10 @@ { title: 'SQL', dataIndex: 'sql', - width: '60%' + width: '60%', + render: (text) => ( + <Paragraph copyable ellipsis={{ rows: 5, expandable: true }}>{text}</Paragraph> + ) }, { title: '鎵ц浣嶇疆', -- Gitblit v1.8.0