|
@@ -35,11 +35,23 @@ const BugGuideTree = (props) => {
|
|
|
dataIndex: 'title',
|
|
|
key: 'title',
|
|
|
width: 150,
|
|
|
+ // ellipsis: {
|
|
|
+ // showTitle: false,
|
|
|
+ // },
|
|
|
+ render: title => (
|
|
|
+ <div className={styles.tableColumnTitle}>
|
|
|
+ <Tooltip placement="topLeft" title={title}>
|
|
|
+ {title}
|
|
|
+ </Tooltip>
|
|
|
+ </div>
|
|
|
+ // <Tooltip placement="topLeft" title={title}>
|
|
|
+ // {title}
|
|
|
+ // </Tooltip>
|
|
|
+ ),
|
|
|
},
|
|
|
{
|
|
|
title: '分类',
|
|
|
dataIndex: 'bug_category',
|
|
|
- width: 150,
|
|
|
key: 'bug_category',
|
|
|
render: bug_category => {
|
|
|
return (
|
|
@@ -184,7 +196,6 @@ const BugGuideTree = (props) => {
|
|
|
}, 2000);
|
|
|
};
|
|
|
|
|
|
-
|
|
|
const initItemRecursion = (items) => {
|
|
|
if (items !== undefined) {
|
|
|
items.forEach(item => {
|
|
@@ -483,13 +494,13 @@ const BugGuideTree = (props) => {
|
|
|
</span>
|
|
|
</div>
|
|
|
<div className={`${styles.detailItem} ${styles.detailItemDesc}`}>
|
|
|
- <Tooltip title={currDetail.title}>
|
|
|
+ <Tooltip placement="topLeft" title={currDetail.title}>
|
|
|
<span className={styles.detailLabel}>Bug 题目:</span>
|
|
|
{currDetail.title}
|
|
|
</Tooltip>
|
|
|
</div>
|
|
|
<div className={`${styles.detailItem} ${styles.detailItemDesc}`}>
|
|
|
- <Tooltip title={currDetail.description}>
|
|
|
+ <Tooltip placement="topLeft" title={currDetail.description}>
|
|
|
<span className={styles.detailLabel}>Bug描述:</span>
|
|
|
{currDetail && currDetail.description}
|
|
|
</Tooltip>
|