From 489c0882ac39fce1e9c31a7e33eeb7c7cd9a36b7 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Wed, 5 Mar 2025 09:32:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../testScript/components/communication.vue | 5 +++-- .../machine/testScript/components/viewRow.vue | 15 ++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/frontend/src/views/machine/testScript/components/communication.vue b/frontend/src/views/machine/testScript/components/communication.vue index 2e52967..6b320e5 100644 --- a/frontend/src/views/machine/testScript/components/communication.vue +++ b/frontend/src/views/machine/testScript/components/communication.vue @@ -11,7 +11,7 @@ height="calc(100vh - 480px)" :style="{ overflow: 'hidden' }" row-key="id" - default-expand-all + :expand-row-keys="[props.activeName]" > @@ -166,12 +166,13 @@ const info = async () => { } }) - console.log('🚀 ~ item.children.forEach ~ tableData.value:', tableData.value) + //console.log('🚀 ~ item.children.forEach ~ tableData.value:', tableData.value) } const getData = () => { return tableData.value } onMounted(() => { + //console.log('🚀 ~ onMounted ~ props:', props) info() // tableData.value = data.data[0].children || [] }) diff --git a/frontend/src/views/machine/testScript/components/viewRow.vue b/frontend/src/views/machine/testScript/components/viewRow.vue index 2697cbd..67acfb6 100644 --- a/frontend/src/views/machine/testScript/components/viewRow.vue +++ b/frontend/src/views/machine/testScript/components/viewRow.vue @@ -1,5 +1,5 @@