提交 fdce9e42 编写于 作者: C chenjianxing 提交者: jianxing

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

上级 d4e1ffb5
......@@ -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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册