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 => {