diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue index 2a3f17c76d..a157e0c640 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue @@ -63,6 +63,7 @@ @@ -181,6 +182,7 @@ export default { comments: [], testCaseTemplate: {}, formLabelWidth: "100px", + isCustomFiledActive: false }; }, props: { @@ -352,6 +354,7 @@ export default { } this.testCase = item; parseCustomField(this.testCase, this.testCaseTemplate, null, null, buildTestCaseOldFields(this.testCase)); + this.isCustomFiledActive = true; if (!this.testCase.actualResult) { // 如果没值,使用模板的默认值 this.testCase.actualResult = this.testCaseTemplate.actualResult; diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue index d38d0a0b15..ae2bb111e8 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue @@ -78,6 +78,7 @@ @@ -187,7 +188,8 @@ export default { testCaseTemplate: {}, hasTapdId: false, hasZentaoId: false, - formLabelWidth: '100px' + formLabelWidth: '100px', + isCustomFiledActive: false }; }, props: { @@ -302,6 +304,7 @@ export default { item.stepModel = 'STEP'; } parseCustomField(item, this.testCaseTemplate, null, null, buildTestCaseOldFields(item)); + this.isCustomFiledActive = true; this.testCase = item; if (!this.testCase.actualResult) { // 如果没值,使用模板的默认值