From 1b5288756a645325a8755b01528b3a236c01783e Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 24 Mar 2021 11:27:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=89=A7=E8=A1=8C=E6=97=B6?= =?UTF-8?q?=E6=9C=AA=E6=98=BE=E7=A4=BA=E6=B5=8B=E8=AF=95=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functional/FunctionalTestCaseEdit.vue | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) 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 da8facdcb8..b218fdd4ca 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 @@ -90,26 +90,26 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - +
{{ $t('test_track.case.steps') }}: @@ -641,7 +641,7 @@ export default { this.$post('/test/plan/edit/status/' + planId); }, stepResultChange() { - if (this.testCase.method === 'manual') { + if (this.testCase.method === 'manual' || !this.testCase.method) { this.isFailure = this.testCase.steptResults.filter(s => { return s.executeResult === 'Failure' || s.executeResult === 'Blocking'; }).length > 0;