From 7d97278ae5450160481def77e3d767707874a9da Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 18 May 2021 12:53:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E4=B8=8B=E4=B8=80=E6=AD=A5=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=B2=A1=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comonents/functional/FunctionalTestCaseEdit.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 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 f50ba7eb5b..a4d4bdf7e4 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 @@ -81,7 +81,7 @@ - + @@ -182,7 +182,8 @@ export default { comments: [], testCaseTemplate: {}, formLabelWidth: "100px", - isCustomFiledActive: false + isCustomFiledActive: false, + otherInfoActive: true }; }, props: { @@ -314,10 +315,18 @@ export default { handleNext() { this.index++; this.getTestCase(this.index); + this.reloadOtherInfo(); + }, + reloadOtherInfo() { + this.otherInfoActive = false; + this.$nextTick(() => { + this.otherInfoActive = true; + }) }, handlePre() { this.index--; this.getTestCase(this.index); + this.reloadOtherInfo(); }, getTestCase(index) { this.testCase = {};