From 9859833ed69c28d88d74b71809366ed6b763f5c6 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 24 Dec 2021 14:40:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=85=AC=E5=85=B1=E7=94=A8=E4=BE=8B=E6=97=A0=E6=B3=95=E7=BC=96?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/case/components/TestCaseList.vue | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index 3a3deeee6a..f715e62ffc 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -757,14 +757,10 @@ export default { }, handleEdit(testCase, column) { if (column.label !== this.$t('test_track.case.case_desc')) { - if (this.publicEnable) { - return; - } else { - this.$get('test/case/get/' + testCase.id, response => { - let testCase = response.data; - this.$emit('testCaseEdit', testCase); - }); - } + this.$get('test/case/get/' + testCase.id, response => { + let testCase = response.data; + this.$emit('testCaseEdit', testCase); + }); } },