From 85e0ce0a4078daf1705ae472a6ed026cd78cd86c Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 26 Mar 2024 16:34:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=9D=E5=AD=98=E7=94=A8=E4=BE=8B=EF=BC=8C?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=90=8D=E7=A7=B0=E5=B7=B2=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=EF=BC=8C=E6=8F=90=E4=BA=A4=E5=90=8E=E7=9B=B4=E6=8E=A5=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=94=A8=E4=BE=8B=E5=88=97=E8=A1=A8=E7=9A=84=E7=BC=BA?= =?UTF-8?q?=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037626 --user=王孝刚 【接口测试】定义-用例-创建用例的名称已存在,提交后直接返回到用例列表 https://www.tapd.cn/55049933/s/1481109 --- .../components/management/case/createAndEditCaseDrawer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/api-test/management/components/management/case/createAndEditCaseDrawer.vue b/frontend/src/views/api-test/management/components/management/case/createAndEditCaseDrawer.vue index a27134a99c..e1dba7bdc0 100644 --- a/frontend/src/views/api-test/management/components/management/case/createAndEditCaseDrawer.vue +++ b/frontend/src/views/api-test/management/components/management/case/createAndEditCaseDrawer.vue @@ -256,8 +256,8 @@ } emit('loadCase', id as string); } catch (error) { - // eslint-disable-next-line no-console - console.log(error); + drawerLoading.value = false; + return; } if (!isContinue) { handleSaveCaseCancel();