|
@@ -474,6 +474,9 @@ const Step2 = (props) => {
|
|
|
<div className={styles.testBugItemTitleBlock}>
|
|
|
<span className={styles.testBugItemTitle}>标题:</span>
|
|
|
<span className={styles.testBugItemTitleDetail}>{item.title}</span>
|
|
|
+ </div>
|
|
|
+ <div className={styles.testBugItemTitleBlock}>
|
|
|
+ <span className={styles.testBugItemTitle}>特征:</span>
|
|
|
<Tag color="cyan">{recurrent[item.recurrent - 1]}</Tag>
|
|
|
<Tag color="red">{severity[item.severity - 1]}</Tag>
|
|
|
<Tag color="geekblue">{item.bug_category}</Tag>
|
|
@@ -765,7 +768,7 @@ const Step2 = (props) => {
|
|
|
name="testName"
|
|
|
>
|
|
|
<Upload
|
|
|
- action='/api/upload/image'
|
|
|
+ action='/Bug/api/upload/image'
|
|
|
data={file => ({ // data里存放的是接口的请求参数
|
|
|
file,
|
|
|
caseId: currentTestCaseRef.current.id,
|
|
@@ -826,14 +829,15 @@ const Step2 = (props) => {
|
|
|
</Form>
|
|
|
</div>
|
|
|
</Modal>
|
|
|
- <Modal title="任务推荐" visible={showTaskRecommendModal}
|
|
|
+ <Modal title="任务推荐"
|
|
|
+ visible={showTaskRecommendModal}
|
|
|
destroyOnClose width={1000}
|
|
|
onOk={() => setTaskRecommendModal(false)}
|
|
|
onCancel={() => {
|
|
|
setTaskRecommendModal(false);
|
|
|
}
|
|
|
}
|
|
|
- className="addModal">
|
|
|
+ className={styles.recommendModal}>
|
|
|
<div>
|
|
|
<BugGuideTree />
|
|
|
</div>
|