From 4e4e64511c8a101beee56088109db5b8094ed9ed Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 30 Dec 2024 14:19:57 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=88=86=E4=BA=AB=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/share/share/ShareHandler.vue | 4 +++- core/core-frontend/src/views/share/share/ShareVisualHead.vue | 4 +++- de-xpack | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/views/share/share/ShareHandler.vue b/core/core-frontend/src/views/share/share/ShareHandler.vue index 4358b91393..a61ca70e16 100644 --- a/core/core-frontend/src/views/share/share/ShareHandler.vue +++ b/core/core-frontend/src/views/share/share/ShareHandler.vue @@ -391,7 +391,9 @@ const loadShareInfo = cb => { .get({ url }) .then(res => { state.detailInfo = { ...res.data } - originUuid.value = res.data.uuid + if (res.data?.uuid) { + originUuid.value = res.data.uuid + } setPageInfo() }) .finally(() => { diff --git a/core/core-frontend/src/views/share/share/ShareVisualHead.vue b/core/core-frontend/src/views/share/share/ShareVisualHead.vue index b6401513d2..e01fa24298 100644 --- a/core/core-frontend/src/views/share/share/ShareVisualHead.vue +++ b/core/core-frontend/src/views/share/share/ShareVisualHead.vue @@ -372,7 +372,9 @@ const loadShareInfo = cb => { .get({ url }) .then(res => { state.detailInfo = { ...res.data } - originUuid.value = res.data.uuid + if (res.data?.uuid) { + originUuid.value = res.data.uuid + } setPageInfo() }) .finally(() => { diff --git a/de-xpack b/de-xpack index 4aa59c0111..c7519e52be 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 4aa59c0111973d62571591c1a50e42b0055992d4 +Subproject commit c7519e52bea980baae5118f0965631e8964f77f9