From 86d72b85d695c9df258e4e73a969bf061a784dfb Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 10 Feb 2022 14:55:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1=E9=A1=B5=E9=9D=A2=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=94=A8=E4=BE=8B=E6=A0=87=E9=A2=98=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../review/view/components/TestReviewTestCaseEdit.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue index 3499191578..dd7671d758 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue @@ -58,7 +58,9 @@ - {{ testCase.name }} + + {{ testCase.name }} + @@ -420,6 +422,12 @@ export default { }) }, + openTestTestCase(item) { + let testCaseData = this.$router.resolve( + {path: '/track/case/all', query: {redirectID: getUUID(), dataType: "testCase", dataSelectRange: item.caseId}} + ); + window.open(testCaseData.href, '_blank'); + }, getRelatedTest() { if (this.testCase.method === 'auto' && this.testCase.testId && this.testCase.testId !== 'other') { this.$get('/' + this.testCase.type + '/get/' + this.testCase.testId, response => {