From b86a220007bfd8b131b139c2a245161f53067c1e Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 24 Mar 2021 11:43:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E5=8E=BB=E6=8E=89=E6=97=A0=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functional/FunctionalTestCaseEdit.vue | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 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 b218fdd4ca..d6b91f5552 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 @@ -491,7 +491,7 @@ export default { } this.testCase = item; this.getRelatedTest(); - this.initTest(); + // this.initTest(); this.getIssues(item.caseId); this.stepResultChange(); this.getFileMetaData(item); @@ -519,19 +519,19 @@ export default { listenGoBack(this.handleClose); this.initData(testCase); }, - initTest() { - this.$nextTick(() => { - if (this.testCase.testId && this.testCase.testId !== 'other') { - if (this.testCase.method === 'auto') { - if (this.$refs.apiTestDetail && this.testCase.type === 'api') { - this.$refs.apiTestDetail.init(); - } else if (this.testCase.type === 'performance') { - this.$refs.performanceTestDetail.init(); - } - } - } - }); - }, + // initTest() { + // this.$nextTick(() => { + // if (this.testCase.testId && this.testCase.testId !== 'other') { + // if (this.testCase.method === 'auto') { + // if (this.$refs.apiTestDetail && this.testCase.type === 'api') { + // this.$refs.apiTestDetail.init(); + // } else if (this.testCase.type === 'performance') { + // this.$refs.performanceTestDetail.init(); + // } + // } + // } + // }); + // }, testRun(reportId) { this.testCase.reportId = reportId; this.saveReport(reportId);