|
@@ -0,0 +1,27 @@
|
|
|
+import { Col, Image, Spin } from 'antd';
|
|
|
+import React, { useEffect, useState } from 'react';
|
|
|
+import { connect } from 'umi';
|
|
|
+import styles from './index.less';
|
|
|
+import { timeToString } from '@/utils/common';
|
|
|
+import {
|
|
|
+ DislikeOutlined, LeftOutlined,
|
|
|
+ LikeOutlined, RightOutlined,
|
|
|
+} from '@ant-design/icons';
|
|
|
+import { recurrent, severity, bug_categories } from '@/pages/edit/components/Step2/const';
|
|
|
+
|
|
|
+const BugTreeGraph = (props) => {
|
|
|
+ const { dispatch,reportCommonInfo,treeGraph } = props;
|
|
|
+
|
|
|
+ return (
|
|
|
+ // detail && detail.id ?
|
|
|
+ // : <Spin />
|
|
|
+ <div className={styles.treeGraph}>
|
|
|
+ graph
|
|
|
+ </div>
|
|
|
+ );
|
|
|
+};
|
|
|
+
|
|
|
+export default connect(({ allBugs, editReport }) => ({
|
|
|
+ treeGraph: allBugs.treeGraph,
|
|
|
+ reportCommonInfo: editReport.reportCommonInfo,
|
|
|
+}))(BugTreeGraph);
|