From 89e5c55add4c4085ae4036a0928c85e50d0f575d Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 17 Sep 2020 21:41:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=8F=90=E7=BC=BA=E9=99=B7=E6=97=B6=E5=90=8C=E6=AD=A5=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E7=BB=93=E6=9E=9C?= 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 8731050c0c..3997725bc3 100644 --- a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue @@ -490,14 +490,14 @@ if (this.issuesSwitch) { 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(''); this.$get("/test/case/project/" + this.testCase.caseId, res => { const project = res.data;