From f87a06be2ece488ce00a60dc872c558e91987dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Wed, 3 Jun 2026 15:36:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=9C=89=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=20(#18251)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/common/DeResourceTree.vue | 2 +- core/core-frontend/src/views/data-visualization/PreviewHead.vue | 2 +- core/core-frontend/src/views/template-market/index.vue | 2 +- core/core-frontend/src/views/workbranch/index.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/views/common/DeResourceTree.vue b/core/core-frontend/src/views/common/DeResourceTree.vue index 2a19d28b2d..a88b89be7a 100644 --- a/core/core-frontend/src/views/common/DeResourceTree.vue +++ b/core/core-frontend/src/views/common/DeResourceTree.vue @@ -644,7 +644,7 @@ const initOpenHandler = newWindow => { methodName: 'initOpenHandler', args: newWindow } - openHandler.value.invokeMethod(pm) + openHandler.value?.invokeMethod(pm) } } diff --git a/core/core-frontend/src/views/data-visualization/PreviewHead.vue b/core/core-frontend/src/views/data-visualization/PreviewHead.vue index 99aa934651..edfbee47a2 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewHead.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewHead.vue @@ -112,7 +112,7 @@ const initOpenHandler = newWindow => { methodName: 'initOpenHandler', args: newWindow } - openHandler.value.invokeMethod(pm) + openHandler.value?.invokeMethod(pm) } } diff --git a/core/core-frontend/src/views/template-market/index.vue b/core/core-frontend/src/views/template-market/index.vue index 6f0b425df1..a39fab481a 100644 --- a/core/core-frontend/src/views/template-market/index.vue +++ b/core/core-frontend/src/views/template-market/index.vue @@ -539,7 +539,7 @@ const initOpenHandler = newWindow => { methodName: 'initOpenHandler', args: newWindow } - openHandler.value.invokeMethod(pm) + openHandler.value?.invokeMethod(pm) } } diff --git a/core/core-frontend/src/views/workbranch/index.vue b/core/core-frontend/src/views/workbranch/index.vue index ad3d2204af..ffb0255fe2 100644 --- a/core/core-frontend/src/views/workbranch/index.vue +++ b/core/core-frontend/src/views/workbranch/index.vue @@ -277,7 +277,7 @@ const initOpenHandler = newWindow => { methodName: 'initOpenHandler', args: newWindow } - openHandler.value.invokeMethod(pm) + openHandler.value?.invokeMethod(pm) } }