fix: 测试用例编辑默认值没回显
This commit is contained in:
parent
d4e1ffb578
commit
fdce9e4268
|
@ -300,10 +300,6 @@ export default {
|
|||
|
||||
<style scoped>
|
||||
|
||||
.other-info-tabs >>> .el-tabs__content {
|
||||
padding: 20px 0px;
|
||||
}
|
||||
|
||||
.other-info-tabs {
|
||||
padding: 30px 60px;
|
||||
}
|
||||
|
|
|
@ -126,8 +126,8 @@ export function compatibleTestCaseStep(testCase, tmp) {
|
|||
// 兼容旧字段
|
||||
export function buildTestCaseOldFields(testCase) {
|
||||
let oldFields = new Map();
|
||||
oldFields.set('custom_field.case_status', testCase.status);
|
||||
oldFields.set('custom_field.case_maintainer', testCase.maintainer);
|
||||
oldFields.set('custom_field.case_priority', testCase.priority);
|
||||
oldFields.set('i43sf4_testCaseStatus', testCase.status);
|
||||
oldFields.set('i43sf4_testCaseMaintainer', testCase.maintainer);
|
||||
oldFields.set('i43sf4_testCasePriority', testCase.priority);
|
||||
return oldFields;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue