fix: 测试用例编辑默认值没回显

This commit is contained in:
chenjianxing 2021-04-22 18:38:07 +08:00 committed by jianxing
parent d4e1ffb578
commit fdce9e4268
2 changed files with 3 additions and 7 deletions

View File

@ -300,10 +300,6 @@ export default {
<style scoped>
.other-info-tabs >>> .el-tabs__content {
padding: 20px 0px;
}
.other-info-tabs {
padding: 30px 60px;
}

View File

@ -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;
}