From 38d6de495b5f6cebca37c8290a73d9195a1c5e13 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 14 Sep 2022 11:37:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001016734 --- frontend/src/business/components/track/case/TestCase.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/business/components/track/case/TestCase.vue b/frontend/src/business/components/track/case/TestCase.vue index 89d4768853..2291fd5798 100644 --- a/frontend/src/business/components/track/case/TestCase.vue +++ b/frontend/src/business/components/track/case/TestCase.vue @@ -650,10 +650,6 @@ export default { if (!index) { this.type = "edit"; this.testCaseReadOnly = false; - if (!this.ignoreTreeNodes && testCase.label !== "redirect" && this.treeNodes.length < 1) { - this.$warning(this.$t('test_track.case.create_module_first')); - return; - } let hasEditPermission = hasPermission('PROJECT_TRACK_CASE:READ+EDIT'); this.$set(testCase, 'rowClickHasPermission', hasEditPermission); this.addTab({name: 'edit', testCaseInfo: testCase});