From 9692b8d2a5361c9d5b58c39937b4ceb1931b211b Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 11 Aug 2020 11:22:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20fi?= =?UTF-8?q?x=20=E6=8F=90=E7=BC=BA=E9=99=B7=E7=94=9F=E6=88=90D=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E7=BB=93=E6=9E=9C=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/plan/view/comonents/TestPlanTestCaseEdit.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue index fd7f658959..0c53c365cc 100644 --- a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue @@ -428,14 +428,14 @@ if (this.testCase.issues.hasIssues) { let desc = this.addPLabel('[' + this.$t('test_track.plan_view.operate_step') + ']'); let result = this.addPLabel('[' + this.$t('test_track.case.expected_results') + ']'); - let executeResult = this.addPLabel('[' + this.$t('test_track.plan_view.actual_result') + ']'); + let actualResult = this.addPLabel('[' + this.$t('test_track.plan_view.actual_result') + ']'); this.testCase.steps.forEach(step => { let stepPrefix = this.$t('test_track.plan_view.step') + step.num + ':'; desc += this.addPLabel(stepPrefix + (step.desc == undefined ? '' : step.desc)); result += this.addPLabel(stepPrefix + (step.result == undefined ? '' : step.result)); - executeResult += this.addPLabel(stepPrefix + (step.executeResult == undefined ? '' : step.executeResult)); + actualResult += this.addPLabel(stepPrefix + (step.actualResult == undefined ? '' : step.actualResult)); }); - this.testCase.issues.content = desc + this.addPLabel('') + result + this.addPLabel('') + executeResult + this.addPLabel(''); + this.testCase.issues.content = desc + this.addPLabel('') + result + this.addPLabel('') + actualResult + this.addPLabel(''); } }, addPLabel(str) {