From 80f1c8dbe0fa97f60709345033ab3ab7d6dae6a9 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 24 Jul 2024 17:38:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=96=B0=E5=BB=BA=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=B9=B6?= =?UTF-8?q?=E5=B0=86=E5=9B=BE=E8=A1=A8=E6=B7=BB=E5=8A=A0=E8=87=B3tab?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=AD=E6=8F=90=E7=A4=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/de-tabs/Component.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/custom-component/de-tabs/Component.vue b/core/core-frontend/src/custom-component/de-tabs/Component.vue index 42fe90be30..98b2ae0e0d 100644 --- a/core/core-frontend/src/custom-component/de-tabs/Component.vue +++ b/core/core-frontend/src/custom-component/de-tabs/Component.vue @@ -260,9 +260,11 @@ function handleCommand(command) { const reloadLinkage = () => { // 刷新联动信息 - getPanelAllLinkageInfo(dvInfo.value.id).then(rsp => { - dvMainStore.setNowPanelTrackInfo(rsp.data) - }) + if (dvInfo.value.id) { + getPanelAllLinkageInfo(dvInfo.value.id).then(rsp => { + dvMainStore.setNowPanelTrackInfo(rsp.data) + }) + } } const componentMoveIn = component => {