From 3c39d6155464a04b878967e5a8a21d7d5f078151 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 9 Jul 2024 16:41:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=8A=A5=E5=91=8A=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=8A=A5=E5=91=8A=E9=85=8D=E7=BD=AE=E6=94=BE?= =?UTF-8?q?=E5=BC=80=E7=BC=96=E8=BE=91=E7=8A=B6=E6=80=81&=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../report/detail/component/config.vue | 9 +++++---- .../detail/component/system-card/summary.vue | 17 ++++++++++++----- .../report/detail/component/viewReport.vue | 15 +++++++-------- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/frontend/src/views/test-plan/report/detail/component/config.vue b/frontend/src/views/test-plan/report/detail/component/config.vue index e5bc04510c..ce64014eb7 100644 --- a/frontend/src/views/test-plan/report/detail/component/config.vue +++ b/frontend/src/views/test-plan/report/detail/component/config.vue @@ -211,12 +211,9 @@ } watch( - () => props.isGroup, + () => hasCaseList.value, () => { initDefaultConfig(); - }, - { - immediate: true, } ); @@ -389,6 +386,10 @@ confirmLoading.value = false; } } + + onBeforeMount(() => { + initDefaultConfig(); + });